mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-20 01:10:59 +00:00
refactor: standardize error handling across components by utilizing CustomApiError for improved error messaging
This commit is contained in:
@@ -19,3 +19,7 @@ export interface ComponentManifest {
|
||||
};
|
||||
spec: Record<string, any>; // eslint-disable-line @typescript-eslint/no-explicit-any
|
||||
}
|
||||
|
||||
export interface CustomApiError {
|
||||
msg?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user