UNPKG

@coolio/http

Version:
10 lines 459 B
import { HttpResponse } from './httpClient.types'; import { HttpCode } from './httpCodes'; export declare class HttpResponseError<T = any> extends Error { readonly response: HttpResponse<T>; readonly status: HttpCode; private readonly __symbol; constructor(response: HttpResponse<T>, message?: string); } export declare const isHttpResponseError: (error: any) => error is HttpResponseError<any>; //# sourceMappingURL=httpResponseError.d.ts.map