@metamask/eth-ledger-bridge-keyring
Version:
A MetaMask compatible keyring, for ledger hardware wallets
18 lines • 589 B
JavaScript
/**
* @deprecated Use `HardwareWalletError` from `@metamask/hw-wallet-sdk` instead.
* This class is kept for backwards compatibility only.
*/
export 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;
}
}
//# sourceMappingURL=type.mjs.map