Represents an 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
The error name.
The error message.
The HTTP status code.
The HTTP status text.
The error stack trace.
An array of error messages.
Represents an API error object.
Source