pub enum Error {
Show 15 variants
AuditProvidersNotConfigured,
NotValidBackupArchive(PathBuf),
BackupArchiveUpgradeRequired(PathBuf, u8, String),
IncompatibleBackupArchive(PathBuf, u8, String),
TryFromSlice(TryFromSliceError),
Core(Error),
Database(Error),
FileSystem(Error),
ZipArchive(Error),
DatabaseArchive(Error),
FileSystemArchive(Error),
Vault(Error),
Io(Error),
Preferences(Error),
SystemMessages(Error),
}Expand description
Errors generated by the library.
Variants§
AuditProvidersNotConfigured
Error generated when attempting to append audit events without any providers configured.
NotValidBackupArchive(PathBuf)
archive only.Errors generated when a backup archive ZIP does not contain a valid manifest.
BackupArchiveUpgradeRequired(PathBuf, u8, String)
archive only.Errors generated when a v1 or v2 backup archive is used with the v3 backend.
IncompatibleBackupArchive(PathBuf, u8, String)
archive only.Errors generated when a v3 backup archive is used with the file system backend.
TryFromSlice(TryFromSliceError)
Error generated converting to fixed length slice.
Core(Error)
Errors generated by the core library.
Database(Error)
Errors generated by the database library.
FileSystem(Error)
Errors generated by the filesystem library.
ZipArchive(Error)
archive only.Errors generated by the ZIP archive library.
DatabaseArchive(Error)
archive only.Errors generated by the database archive library.
FileSystemArchive(Error)
archive only.Errors generated by the filesystem archive library.
Vault(Error)
Errors generated by the vault library.
Io(Error)
Errors generated by the IO module.
Preferences(Error)
preferences only.Errors generated by the preferences library.
SystemMessages(Error)
system-messages only.Errors generated by the system messages library.