import { HttpHeadersInterface, RequestMethod } from '../contract'; /** * Client error is triggered when request could not be executed at all (e.g, network error). */ export declare class ClientError extends Error { /** * Get requested URL. */ readonly url: string; /** * Get requested method. */ readonly method: RequestMethod; /** * Get request headers. */ readonly headers: HttpHeadersInterface; constructor(url: string, method: RequestMethod, headers: HttpHeadersInterface, message: string); }