UNPKG

@bunq-community/bunq-js-client

Version:

[![NPM Version](https://img.shields.io/npm/v/@bunq-community/bunq-js-client.svg) ](https://github.com/@bunq-community/bunq-js-client) [![NPM Downloads](https://img.shields.io/npm/dt/@bunq-community/bunq-js-client.svg) ](https://www.npmjs.com/package/@bun

14 lines (13 loc) 402 B
"use strict"; 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;