@hipay/hipay-enterprise-sdk-nodejs
Version:
The HiPay Enterprise SDK for NodeJS is a library for developers who want to integrate HiPay Enterprise payment methods to any NodeJS platform.
16 lines (12 loc) • 386 B
JavaScript
;
const HiPayNodeSDKError = require('./HiPayNodeSDKError');
class ApiErrorException extends HiPayNodeSDKError {
constructor(message, status, code, description, ...args) {
super(...args);
this.message = message;
this.status = status;
this.code = code;
this.description = description;
}
}
module.exports = ApiErrorException;