diff options
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs index 3b3f573..360e62d 100644 --- a/src/error.rs +++ b/src/error.rs @@ -9,4 +9,10 @@ pub enum ObnamError { #[error("Generation has more than one file with the name {0}")] TooManyFiles(PathBuf), + + #[error("Server response did not have a 'chunk-meta' header for chunk {0}")] + NoChunkMeta(String), + + #[error("Wrong checksum for chunk {0}")] + WrongChecksum(String), } |