Enum flow_sdk::error::AccountError [−][src]
#[non_exhaustive]
pub enum AccountError {
NoMatchingKeyFound,
AlgoMismatch,
NotEnoughWeight,
KeyRevoked,
Custom(Box<dyn Error + Send + Sync>),
}
Expand description
The errors that could happen when logging in an account.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
There was not any public keys that matched the provided private key.
This could happen if you have provided duplicate secret keys.
The hashing and signing algorithms provided did not match public information.
Did not have enough signing weight.
A key provided was revoked.
An error from the client has occured.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for AccountError
impl Send for AccountError
impl Sync for AccountError
impl Unpin for AccountError
impl !UnwindSafe for AccountError
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more