@metamask/eth-ledger-bridge-keyring
Version:
A MetaMask compatible keyring, for ledger hardware wallets
22 lines • 742 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.LedgerStatusError = void 0;
/**
* @deprecated Use `HardwareWalletError` from `@metamask/hw-wallet-sdk` instead.
* This class is kept for backwards compatibility only.
*/
class LedgerStatusError extends Error {
/**
* Creates a new LedgerStatusError.
*
* @param statusCode - The status code of the error.
* @param message - The message of the error.
* @deprecated Use `HardwareWalletError` from `@metamask/hw-wallet-sdk` instead.
*/
constructor(statusCode, message) {
super(message);
this.statusCode = statusCode;
}
}
exports.LedgerStatusError = LedgerStatusError;
//# sourceMappingURL=type.cjs.map