ts-midtrans-client
Version:
This library is an UNOFFICIAL TypeScript version of the Midtrans Client - Node.js.
11 lines (10 loc) • 383 B
TypeScript
/**
* Custom HTTP Error Class that also expose httpStatusCode, ApiResponse, rawHttpClientData
* To expose more info for lib user
*/
export declare class MidtransError extends Error {
httpStatusCode: number | null;
ApiResponse: any;
rawHttpClientData: any;
constructor(message: string, httpStatusCode?: number | null, ApiResponse?: any, rawHttpClientData?: any);
}