pub enum TransientError {
Show 14 variants
IncretmentError,
ParsingToByteError,
ParsingToUTF8Error,
SledError {
error: Error,
},
SledTransactionError,
ParsingToU64ByteFailed,
FolderNotFound {
path: PathBuf,
},
ZipError {
error: ZipError,
},
FileNameDoesntExist,
MetadataNotFound,
DBMetadataNotFound,
PoisonedMutex,
ParsingFromByteError,
IOError {
error: Error,
},
}
Expand description
The primary error enum for the EpochDB library. Fun Fact: It’s called TransientError because Transient is the old name of the DB
Variants§
IncretmentError
Error that occurs during frequency increment operations.
ParsingToByteError
Error that occurs when parsing to a byte slice fails.
ParsingToUTF8Error
Error that occurs when parsing to a UTF-8 string fails.
SledError
Wrapper for sled::Error
.
SledTransactionError
Error that occurs during a sled
transaction.
ParsingToU64ByteFailed
Error that occurs when parsing a byte slice to a u64 fails.
FolderNotFound
Error that occurs when any folder in the path doesnt exist.
ZipError
Wrapper for zip::result::ZipError
.
FileNameDoesntExist
Error that occurs when the file doesnt exist.
MetadataNotFound
Error that occurs when the corresponding Metadata doesnt exist.
DBMetadataNotFound
Error that occurs when the Metadata of the database itself doesnt exist.
PoisonedMutex
Error that occurs when a Mutex is poisoned.
ParsingFromByteError
Error that occurs when parsing from a byte slice to any type.
IOError
Wrapper for std::io::Error
.