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
sourceimpl Debug for LedgerError
impl Debug for LedgerError
sourceimpl Display for LedgerError
impl Display for LedgerError
sourceimpl Error for LedgerError
impl Error for LedgerError
sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<Error> for LedgerError
impl From<Error> for LedgerError
sourceimpl From<FromHexError> for LedgerError
impl From<FromHexError> for LedgerError
sourcefn from(source: FromHexError) -> Self
fn from(source: FromHexError) -> Self
Converts to this type from the input type.
sourceimpl From<LedgerError> for LedgerError
impl From<LedgerError> for LedgerError
sourcefn from(source: LedgerError) -> Self
fn from(source: LedgerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for LedgerError
impl Send for LedgerError
impl Sync for LedgerError
impl Unpin for LedgerError
impl !UnwindSafe for LedgerError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more