UNPKG

@adyen/api-library

Version:

The Adyen API Library for NodeJS enables you to work with Adyen APIs.

19 lines (18 loc) 525 B
/// <reference types="node" /> import { IncomingHttpHeaders } from "http"; interface ExceptionInterface { message: string; statusCode?: number; errorCode?: string; responseHeaders?: IncomingHttpHeaders; responseBody?: string; } declare class HttpClientException extends Error { statusCode: number; errorCode?: string; responseHeaders?: IncomingHttpHeaders; readonly name: string; responseBody?: string; constructor(props: ExceptionInterface); } export default HttpClientException;