pub enum Error {
Show 17 variants
ArchiveFileExists(PathBuf),
ArchiveFileNotExists(PathBuf),
InvalidArchiveManifest(PathBuf),
NoDatabaseFile(PathBuf, String),
ImportSourceNotExists(AccountId),
ImportTargetExists(AccountId),
DatabaseChecksum(CommitHash, CommitHash),
TryFromSlice(TryFromSliceError),
Database(Error),
Io(Error),
Json(Error),
ZipArchive(Error),
AsyncSqlite(Error),
Rusqlite(Error),
Refinery(Error),
Core(Error),
Vault(Error),
}archive only.Expand description
Errors generated creating and importing backup archives,
Variants§
ArchiveFileExists(PathBuf)
Archive file already exists.
ArchiveFileNotExists(PathBuf)
Archive file does not exist.
InvalidArchiveManifest(PathBuf)
Error generated when an archive does not contain a valid manifest file.
NoDatabaseFile(PathBuf, String)
Error generated when an archive does not contain the database file.
ImportSourceNotExists(AccountId)
Error generated attempting to import an account that does not exist in the source database.
ImportTargetExists(AccountId)
Error generated attempting to import an account that already exists in the target database.
DatabaseChecksum(CommitHash, CommitHash)
Error generated when the checksum for a database does not match the manifest.
TryFromSlice(TryFromSliceError)
Error generated converting to fixed size slice.
Database(Error)
Errors generated by the database library.
Io(Error)
Errors generated by the IO module.
Json(Error)
Error generated by the JSON library.
ZipArchive(Error)
Error generated by the ZIP archive library.
AsyncSqlite(Error)
Errors generated by the async sqlite library.
Rusqlite(Error)
Errors generated by the rusqlite library.
Refinery(Error)
Errors generated by refinery migration library.
Core(Error)
Errors generated by the core library.
Vault(Error)
Errors generated by the vault library.