pub enum Error {
Nebari(Error),
InternalSerialization(Box<ErrorKind, Global>),
Serialization(Error),
InternalCommunication,
View(Error),
Vault(Error),
Core(Error),
TaskJoin(JoinError),
Io(Error),
Job(Arc<Error>),
Backup(Box<dyn AnyError + 'static, Global>),
PasswordHash(String),
}
Expand description
Errors that can occur from interacting with storage.
Variants
Nebari(Error)
An error occurred interacting with the storage layer, nebari
.
InternalSerialization(Box<ErrorKind, Global>)
An error occurred serializing the underlying database structures.
Serialization(Error)
An error occurred serializing the contents of a Document
or results of a View
.
InternalCommunication
An internal error occurred while waiting for or sending a message.
View(Error)
An error occurred while executing a view
Vault(Error)
An error occurred in the secrets storage layer.
Core(Error)
An core error occurred.
TaskJoin(JoinError)
A tokio task failed to execute.
Io(Error)
A tokio task failed to execute.
Job(Arc<Error>)
An error occurred from a job and couldn’t be unwrapped due to clones.
Backup(Box<dyn AnyError + 'static, Global>)
An error occurred from backing up or restoring.
PasswordHash(String)
An error occurred with a password hash.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
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