Enum ethers_signers::LedgerError
source · pub enum LedgerError {
LedgerError(LedgerError),
UnexpectedNullResponse,
HexError(FromHexError),
SemVerError(Error),
Eip712Error(String),
UnsupportedAppVersion(String),
}
Expand description
Error when using the Ledger transport
Variants§
LedgerError(LedgerError)
Underlying ledger transport error
UnexpectedNullResponse
Device response was unexpectedly none
HexError(FromHexError)
Error when converting from a hex string
SemVerError(Error)
Error when converting a semver requirement
Eip712Error(String)
Error type from Eip712Error message
UnsupportedAppVersion(String)
Error when signing EIP712 struct with not compatible Ledger ETH app
Trait Implementations§
source§impl Debug for LedgerError
impl Debug for LedgerError
source§impl Display for LedgerError
impl Display for LedgerError
source§impl Error for LedgerError
impl Error for LedgerError
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<Error> for LedgerError
impl From<Error> for LedgerError
source§impl From<FromHexError> for LedgerError
impl From<FromHexError> for LedgerError
source§fn from(source: FromHexError) -> Self
fn from(source: FromHexError) -> Self
Converts to this type from the input type.
source§impl From<LedgerError> for LedgerError
impl From<LedgerError> for LedgerError
source§fn from(source: LedgerError) -> Self
fn from(source: LedgerError) -> Self
Converts to this type from the input type.