Enum ethstore::Error [−][src]
pub enum Error {
Io(IoError),
InvalidPassword,
InvalidSecret,
InvalidCryptoMeta,
InvalidAccount,
InvalidMessage,
InvalidKeyFile(String),
VaultsAreNotSupported,
UnsupportedVault,
InvalidVaultName,
VaultNotFound,
CreationFailed,
EthKey(EthKeyError),
EthKeyCrypto(Error),
EthCrypto(EthCryptoError),
Derivation(DerivationError),
Custom(String),
}Account-related errors.
Variants
Io(IoError)IO error
InvalidPasswordInvalid Password
InvalidSecretAccount's secret is invalid.
InvalidCryptoMetaInvalid Vault Crypto meta.
InvalidAccountInvalid Account.
InvalidMessageInvalid Message.
InvalidKeyFile(String)Invalid Key File
VaultsAreNotSupportedVaults are not supported.
UnsupportedVaultUnsupported vault
InvalidVaultNameInvalid vault name
VaultNotFoundVault not found
CreationFailedAccount creation failed.
EthKey(EthKeyError)EthKey error
EthKeyCrypto(Error)ethkey::crypto::Error
EthCrypto(EthCryptoError)EthCrypto error
Derivation(DerivationError)Derivation error
Custom(String)Custom error
Trait Implementations
impl Debug for Error[src]
impl Debug for Errorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for Error[src]
impl Display for Errorfn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl From<IoError> for Error[src]
impl From<IoError> for Errorimpl From<EthKeyError> for Error[src]
impl From<EthKeyError> for Errorfn from(err: EthKeyError) -> Self[src]
fn from(err: EthKeyError) -> SelfPerforms the conversion.
impl From<Error> for Error[src]
impl From<Error> for Errorimpl From<EthCryptoError> for Error[src]
impl From<EthCryptoError> for Errorfn from(err: EthCryptoError) -> Self[src]
fn from(err: EthCryptoError) -> SelfPerforms the conversion.
impl From<ScryptError> for Error[src]
impl From<ScryptError> for Errorfn from(err: ScryptError) -> Self[src]
fn from(err: ScryptError) -> SelfPerforms the conversion.
impl From<SymmError> for Error[src]
impl From<SymmError> for Errorimpl From<DerivationError> for Error[src]
impl From<DerivationError> for Errorfn from(err: DerivationError) -> Self[src]
fn from(err: DerivationError) -> SelfPerforms the conversion.