interface ApiResponseError<T = unknown> {
    cause?: unknown;
    code?: string;
    config: AxiosRequestConfig<any>;
    isAxiosError: boolean;
    message: string;
    name: string;
    request?: unknown;
    response?: AxiosResponse<T, any>;
    stack?: string;
    toJSON: () => object;
}

Type Parameters

  • T = unknown

Hierarchy

  • Error
    • ApiResponseError

Properties

cause?: unknown
code?: string
config: AxiosRequestConfig<any>
isAxiosError: boolean
message: string
name: string
request?: unknown
response?: AxiosResponse<T, any>
stack?: string
toJSON: () => object