UNPKG

@coolio/http

Version:
11 lines (10 loc) 470 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