Enum lockchain_core::errors::Error [−][src]
pub enum Error {
Unknown,
Vault(VaultError),
Auth(AuthError),
Crypto(CryptoError),
Data(DataError),
// some variants omitted
}Variants
UnknownA common "unknown" type for errors that can't be associated with a type or simply need to be stubbed until more information is available.
Vault(VaultError)A basic vault operation error
Auth(AuthError)Errors occuring during authentication
Crypto(CryptoError)Cryptographic errors
Data(DataError)Data integrity or retrieval errors
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 StdError for Error[src]
impl StdError for Errorfn description(&self) -> &str1.0.0[src]
fn description(&self) -> &str1.0.0
[src]This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>1.0.0[src]
fn cause(&self) -> Option<&Error>1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Display for Error[src]
impl Display for Error