@metamask/eth-trezor-keyring
Version:
A MetaMask compatible keyring, for trezor hardware wallets
9 lines • 438 B
text/typescript
/**
* Converts unknown Trezor errors into typed HardwareWalletError instances.
*
* @param error - Error thrown from Trezor bridge or keyring flow.
* @param fallbackMessage - Default message for unknown non-Error inputs.
* @throws HardwareWalletError Always throws typed errors.
*/
export declare function handleTrezorTransportError(error: unknown, fallbackMessage: string): never;
//# sourceMappingURL=trezor-error-handler.d.mts.map