UNPKG

@dashevo/wallet-lib

Version:
10 lines (8 loc) 315 B
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;