Interface ApiErrorResponse<T>

interface ApiErrorResponse<T> {
    config?: AxiosRequestConfig;
    data?: T;
    duration?: number;
    headers?: Record<string, string>;
    ok: false;
    originalError: AxiosError;
    problem: PROBLEM_CODE;
    status?: number;
}

Type Parameters

  • T

Properties

config?: AxiosRequestConfig
data?: T
duration?: number
headers?: Record<string, string>
ok: false
originalError: AxiosError
problem: PROBLEM_CODE
status?: number