pub enum Error {
Show 16 variants
DatabaseFolderNotFound(VaultId),
NoLoginFolder(i64),
CommitNotFound(CommitHash),
CheckpointVerification {
checkpoint: CommitHash,
computed: CommitHash,
},
Core(Error),
Vault(Error),
TryFromSlice(TryFromSliceError),
TryFromInt(TryFromIntError),
Uuid(Error),
Io(Error),
Json(Error),
UrlParse(ParseError),
Refinery(Error),
AsyncSqlite(Error),
Rusqlite(Error),
Urn(Error),
}Expand description
Errors generated by the database library.
Variants§
DatabaseFolderNotFound(VaultId)
Error generated when a folder could not be found in the database.
NoLoginFolder(i64)
Error generated when a login folder is required.
CommitNotFound(CommitHash)
Error generated when a target commit hash could not be found.
CheckpointVerification
Error generated when replacing events in an event log does not compute the same root hash as the expected checkpoint.
Core(Error)
Errors generated by the core library.
Vault(Error)
Errors generated by the vault library.
TryFromSlice(TryFromSliceError)
Error generated converting to fixed length slice.
TryFromInt(TryFromIntError)
Error generated converting integers.
Uuid(Error)
Errors generated by the UUID library.
Io(Error)
Errors generated by the IO module.
Json(Error)
Errors generated by the JSON library.
UrlParse(ParseError)
Errors generated by the URL library.
Refinery(Error)
Errors generated by refinery migration library.
AsyncSqlite(Error)
Errors generated by the async sqlite library.
Rusqlite(Error)
Errors generated by the rusqlite library.
Urn(Error)
system-messages only.Errors generated by the URN library.