import type ExceptionCode from '../enums/exception-code.enum'; import type { AxiosRequestConfig } from 'axios'; /** * @file Interfaces - AxiosErrorJSON * @module exceptions/interfaces/AxiosErrorJSON */ /** * JSON representation of an `AxiosError`. * * @see https://github.com/axios/axios/blob/v0.23.0/lib/core/enhanceError.js * * @template Data - Request data type * * @extends {Error} */ export interface AxiosErrorJSON extends Error { readonly code?: string; readonly columnNumber?: number; readonly config: AxiosRequestConfig; readonly description?: string; readonly fileName: string; readonly lineNumber?: number; readonly number?: number; readonly status: ExceptionCode | null; } //# sourceMappingURL=axios-error-json.interface.d.ts.map