pub enum AuthenticatorError {
EmptyChain,
SignerExpected {
position: usize,
found: String,
},
EphemeralExpected {
position: usize,
found: String,
},
SignedEntityExpected {
position: usize,
found: String,
},
SignedEntityMissing,
ValidationError {
position: usize,
kind: String,
message: String,
},
UnexpectedSigner {
position: usize,
expected: Address,
found: Address,
},
UnexpectedLastAuthority {
position: usize,
expected: String,
found: String,
},
ExpiredEntity {
position: usize,
kind: String,
},
}Variants§
EmptyChain
SignerExpected
EphemeralExpected
SignedEntityExpected
SignedEntityMissing
ValidationError
UnexpectedSigner
UnexpectedLastAuthority
ExpiredEntity
Trait Implementations§
source§impl Debug for AuthenticatorError
impl Debug for AuthenticatorError
source§impl Display for AuthenticatorError
impl Display for AuthenticatorError
source§impl Error for AuthenticatorError
impl Error for AuthenticatorError
1.30.0 · 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 PartialEq<AuthenticatorError> for AuthenticatorError
impl PartialEq<AuthenticatorError> for AuthenticatorError
source§fn eq(&self, other: &AuthenticatorError) -> bool
fn eq(&self, other: &AuthenticatorError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.