seerbit-nodejs
Version:
SeerBit NodsJS SDK
20 lines (19 loc) • 558 B
TypeScript
/// <reference types="node" />
import { IncomingHttpHeaders } from "http";
interface ExceptionInterface {
message: string;
statusCode?: number;
errorCode?: string;
responseHeaders?: IncomingHttpHeaders;
responseBody?: string;
}
declare class HttpClientException implements Error {
statusCode: number;
errorCode?: string;
responseHeaders?: IncomingHttpHeaders;
readonly message: string;
readonly name: string;
responseBody?: string;
constructor(props: ExceptionInterface);
}
export default HttpClientException;