31 lines
875 B
TypeScript
Raw Permalink Normal View History

// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
/**
* A per-item error encountered during config loading from the database.
* Items with loading errors are skipped from the live config; this struct
* preserves enough context for the UI to display the error and for operators
* to copy/paste the raw config fragment for debugging.
*/
export type ConfigLoadingError = {
/**
* The type of config item (e.g. `"function"`, `"variant"`, `"model"`).
*/
kind: string;
/**
* The name of the broken item.
*/
name: string;
/**
* For variants: the parent function name.
*/
parent?: string;
/**
* Human-readable description of what went wrong.
*/
error: string;
/**
* Best-effort TOML fragment of the raw stored config, for copy/paste debugging.
*/
raw_toml?: string;
};