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 9c9b432..928f258 100644 --- a/src/error.rs +++ b/src/error.rs @@ -10,6 +10,7 @@ use crate::db::DatabaseError; use crate::dbgen::GenerationDbError; use crate::generation::{LocalGenerationError, NascentError}; use crate::genlist::GenerationListError; +use crate::label::LabelError; use crate::passwords::PasswordError; use std::path::PathBuf; use std::time::SystemTimeError; @@ -22,6 +23,10 @@ use tempfile::PersistError; /// convenience. #[derive(Debug, thiserror::Error)] pub enum ObnamError { + /// Error from chunk labels. + #[error(transparent)] + Label(#[from] LabelError), + /// Error listing generations on server. #[error(transparent)] GenerationListError(#[from] GenerationListError), |