refactor(frontend): drop unused message field from ApiError interface
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -26,7 +26,6 @@ export function createApiClient(fetch: typeof globalThis.fetch) {
|
|||||||
|
|
||||||
export interface ApiError {
|
export interface ApiError {
|
||||||
code?: string;
|
code?: string;
|
||||||
message?: string;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function extractErrorCode(error: unknown): string | undefined {
|
export function extractErrorCode(error: unknown): string | undefined {
|
||||||
|
|||||||
Reference in New Issue
Block a user