coinpayment-2.0
Version:
CoinPayments is a cloud wallet solution that offers an easy way to integrate a checkout system for numerous cryptocurrencies. Coinpayments now also offers coin conversion via Shapeshift.io.
22 lines (16 loc) • 658 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
// import util from '../util'
var CoinpaymentsError = function CoinpaymentsError(message, extra) {
_classCallCheck(this, CoinpaymentsError);
Error.captureStackTrace(this, this.constructor);
this.name = this.constructor.name;
this.message = message;
this.extra = extra;
}; // util.inherits(CoinpaymentsError, Error);
var _default = CoinpaymentsError;
exports["default"] = _default;
;