UNPKG

@odata2ts/http-client-axios

Version:

Axios based odata HTTP client consumable by odata2ts

10 lines (9 loc) 575 B
import { ODataClientError } from "@odata2ts/http-client-api"; import type { AxiosError } from "axios"; export declare class AxiosClientError extends Error implements ODataClientError { readonly status?: number | undefined; readonly headers?: Record<string, string> | undefined; readonly cause?: Error | undefined; readonly axiosError?: AxiosError<unknown, any> | undefined; constructor(msg: string, status?: number | undefined, headers?: Record<string, string> | undefined, cause?: Error | undefined, axiosError?: AxiosError<unknown, any> | undefined); }