@dashevo/wallet-lib
Version:
Light wallet library for Dash
10 lines (8 loc) • 315 B
JavaScript
const WalletLibError = require('./WalletLibError');
class StorageUnableToAddTransaction extends WalletLibError {
constructor(tx) {
const getErrorMessageOf = (_tx) => `Unable to add transaction : ${JSON.stringify(_tx)}`;
super(getErrorMessageOf(tx));
}
}
module.exports = StorageUnableToAddTransaction;