API error object.
export interface ApiError { name?: string; message?: string; status?: number; statusText?: string; stack?: string; errors?: Array<{ message: string }>; [key: string]: unknown;} Copy
export interface ApiError { name?: string; message?: string; status?: number; statusText?: string; stack?: string; errors?: Array<{ message: string }>; [key: string]: unknown;}
Optional
Error name.
Error message.
HTTP status code.
HTTP status text.
Error stack trace.
Array of error messages.
API error object.
Source