Enum ethers_signers::WalletError
source · pub enum WalletError {
Bip32Error(Bip32Error),
Bip39Error(MnemonicError),
EthKeystoreError(KeystoreError),
EcdsaError(Error),
HexError(FromHexError),
IoError(Error),
MnemonicBuilderError(MnemonicBuilderError),
Eip712Error(String),
}
Expand description
Error thrown by the Wallet module
Variants§
Bip32Error(Bip32Error)
Error propagated from the BIP-32 crate
Bip39Error(MnemonicError)
Error propagated from the BIP-39 crate
EthKeystoreError(KeystoreError)
Underlying eth keystore error
EcdsaError(Error)
Error propagated from k256’s ECDSA module
HexError(FromHexError)
Error propagated from the hex crate.
IoError(Error)
Error propagated by IO operations
MnemonicBuilderError(MnemonicBuilderError)
Error propagated from the mnemonic builder module.
Eip712Error(String)
Error type from Eip712Error message
Trait Implementations§
source§impl Debug for WalletError
impl Debug for WalletError
source§impl Display for WalletError
impl Display for WalletError
source§impl Error for WalletError
impl Error for WalletError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Bip32Error> for WalletError
impl From<Bip32Error> for WalletError
source§fn from(source: Bip32Error) -> Self
fn from(source: Bip32Error) -> Self
Converts to this type from the input type.
source§impl From<Error> for WalletError
impl From<Error> for WalletError
source§impl From<Error> for WalletError
impl From<Error> for WalletError
source§impl From<FromHexError> for WalletError
impl From<FromHexError> for WalletError
source§fn from(source: FromHexError) -> Self
fn from(source: FromHexError) -> Self
Converts to this type from the input type.
source§impl From<KeystoreError> for WalletError
impl From<KeystoreError> for WalletError
source§fn from(source: KeystoreError) -> Self
fn from(source: KeystoreError) -> Self
Converts to this type from the input type.
source§impl From<MnemonicError> for WalletError
impl From<MnemonicError> for WalletError
source§fn from(source: MnemonicError) -> Self
fn from(source: MnemonicError) -> Self
Converts to this type from the input type.