diff options
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 a905458..454bba6 100644 --- a/src/error.rs +++ b/src/error.rs @@ -3,6 +3,8 @@ use crate::client::{ClientConfigError, ClientError}; use crate::cmd::restore::RestoreError; use crate::generation::{LocalGenerationError, NascentError}; use crate::genlist::GenerationListError; +use crate::passwords::PasswordError; +use std::path::PathBuf; use std::time::SystemTimeError; use tempfile::PersistError; @@ -13,6 +15,9 @@ pub enum ObnamError { #[error(transparent)] GenerationListError(#[from] GenerationListError), + #[error("couldn't save passwords to {0}: {1}")] + PasswordSave(PathBuf, PasswordError), + #[error(transparent)] ClientError(#[from] ClientError), |