@dashevo/wallet-lib
Version:
Light wallet library for Dash
13 lines (9 loc) • 343 B
JavaScript
const WalletLibError = require('./WalletLibError');
class InjectionErrorCannotInject extends WalletLibError {
constructor(pluginName, reason) {
const getErrorMessageOf = () => `Injection of plugin : ${pluginName} impossible.
Reason : ${reason}`;
super(getErrorMessageOf());
}
}
module.exports = InjectionErrorCannotInject;