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.
15 lines (11 loc) • 333 B
JavaScript
// import util from '../util'
class CoinpaymentsError {
constructor(message, extra) {
Error.captureStackTrace(this, this.constructor);
this.name = this.constructor.name;
this.message = message;
this.extra = extra;
}
}
// util.inherits(CoinpaymentsError, Error);
export default CoinpaymentsError;