@bunq-community/bunq-js-client
Version:
[ ](https://github.com/@bunq-community/bunq-js-client) [ ](https://www.npmjs.com/package/@bun
14 lines (13 loc) • 402 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
class CustomError extends Error {
constructor(error, response = false, errorCode = false) {
super(error);
this.response = false;
this.errorCode = false;
this.name = "CustomError";
this.response = response;
this.errorCode = errorCode;
}
}
exports.default = CustomError;