diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-03-21 09:12:49 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-03-22 19:18:35 +0200 |
commit | 48139725676fcce89a70897546969623f2474693 (patch) | |
tree | f9c00d2fcd3b7c597fd5062b90ef2279eb9db767 /src/error.rs | |
parent | 4c94c794ec805cf643826973e4f83826a1231e54 (diff) | |
download | obnam2-48139725676fcce89a70897546969623f2474693.tar.gz |
feat! store list of generations in a "client trust root" chunk
Backups made with this version can't be restored with old clients, and
vice version.
Sponsored-by: author
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs index 7812081..9c9b432 100644 --- a/src/error.rs +++ b/src/error.rs @@ -1,6 +1,7 @@ //! Errors from Obnam client. use crate::backup_run::BackupError; +use crate::chunk::ClientTrustError; use crate::cipher::CipherError; use crate::client::ClientError; use crate::cmd::restore::RestoreError; @@ -25,6 +26,10 @@ pub enum ObnamError { #[error(transparent)] GenerationListError(#[from] GenerationListError), + /// Error about client trust chunks. + #[error(transparent)] + ClientTrust(#[from] ClientTrustError), + /// Error saving passwords. #[error("couldn't save passwords to {0}: {1}")] PasswordSave(PathBuf, PasswordError), |