UNPKG

@metamask/eth-ledger-bridge-keyring

Version:
11 lines 548 B
/** * Central error handler for Ledger TransportStatusError instances. * Converts Ledger transport errors into properly typed HardwareWalletError instances * using the error mapping system. * * @param error - The error to handle * @param fallbackMessage - Default error message if no specific handling is found * @throws HardwareWalletError with appropriate error details from mappings */ export declare function handleLedgerTransportError(error: unknown, fallbackMessage: string): never; //# sourceMappingURL=ledger-error-handler.d.cts.map