pub enum ErrorKind {
Message(String),
Io(Error),
DataIntegrity(Box<Error>),
InvalidTreeName,
KeyTooLarge,
ValueTooLarge,
KeysNotOrdered,
Internal(InternalError),
TreeCompacted,
Vault(Box<dyn SendSyncError>),
}Expand description
An error from Nebari.
Variants
Message(String)
An error has occurred. The string contains human-readable error message. This error is only used in situations where a user is not expected to be able to recover automatically from the error.
Io(Error)
An error occurred while performing IO.
DataIntegrity(Box<Error>)
An unrecoverable data integrity error was encountered.
InvalidTreeName
An invalid tree name was provided.
Valid characters are:
'a'..='z''A'..='Z''0'..='9''-'(Hyphen)'_'(Underscore)'.'(Period)
KeyTooLarge
A key was too large.
ValueTooLarge
A value was too large.
KeysNotOrdered
A multi-key operation did not have its keys ordered.
Internal(InternalError)
An internal error occurred. These errors are not intended to be recoverable and represent some internal error condition.
TreeCompacted
The underlying tree file has been compacted, and the request cannot be completed. Reopen the file and try again.
Vault(Box<dyn SendSyncError>)
An error ocurred in the vault.