import { ApplicationError } from "@js-soft/ts-utils"; import { AxiosError } from "axios"; import { PlatformError } from "./PlatformError"; import { PlatformParameters } from "./PlatformParameters"; export declare class RequestError extends ApplicationError { readonly method: string; readonly path: string; readonly platformParameters?: PlatformParameters | undefined; readonly reason: string; readonly requestId: string; readonly status: number; readonly time: string; object?: any | undefined | undefined; platformError: PlatformError; constructor(method: string, path: string, platformParameters?: PlatformParameters | undefined, code?: string, reason?: string, requestId?: string, status?: number, time?: string, object?: any | undefined | undefined); setObject(object: any): this; toString(): string; /** * Removes any unwanted information (data, Auth headers, credentials) * from the Axios data structure */ static cleanAxiosError(error: AxiosError): any; static fromAxiosError(method: string, path: string, axiosError: AxiosError, requestId: string, platformParameters?: PlatformParameters): RequestError; } //# sourceMappingURL=RequestError.d.ts.map