/** * Represents an API error returned by AbacatePay. */ export declare class AbacatePayError extends Error { message: string; constructor(message: string); } /** * Represents any HTTP error. */ export declare class HTTPError extends Error { /** * The content of the error message. */ message: string; /** * Route that returned the error (e.g. `/store/get`). */ route: string; /** * Status code of the response. */ status: number; /** * Method used in the request. */ method: string; constructor( /** * The content of the error message. */ message: string, /** * Route that returned the error (e.g. `/store/get`). */ route: string, /** * Status code of the response. */ status: number, /** * Method used in the request. */ method: string); } /** * Represents a timeout error. */ export declare class TimeoutError extends Error { /** * The content of the error message. */ message: string; /** * The timeout used in the request. */ timeout: number; constructor( /** * The content of the error message. */ message: string, /** * The timeout used in the request. */ timeout: number); }