import { InternalServerException } from '@joktec/core'; import { AxiosError, AxiosResponseHeaders, InternalAxiosRequestConfig, RawAxiosResponseHeaders } from 'axios'; export interface IHttpException { data?: any; status?: number; statusText?: string; headers?: RawAxiosResponseHeaders | AxiosResponseHeaders; config?: InternalAxiosRequestConfig; request?: any; code?: string; method?: string; url?: string; cause?: Record; } export declare class HttpClientException extends InternalServerException { constructor(message: string, data?: IHttpException); static fromAxiosError(err: AxiosError): HttpClientException; } //# sourceMappingURL=http.exception.d.ts.map