diff options
Diffstat (limited to '')
-rw-r--r-- | src/errors.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/errors.rs b/src/errors.rs index 2bf4130..bd6dc66 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -48,6 +48,13 @@ pub enum ContextualErrorKind { _0, _1 )] ArchiveCreationError(String, Box<ContextualError>), + + /// This error might occur when the HTTP authentication fails + #[fail( + display = "An error occured during HTTP authentication\ncaused by: {}", + _0 + )] + HTTPAuthenticationError(Box<ContextualError>), } pub fn log_error_chain(description: String) { |