aboutsummaryrefslogtreecommitdiffstats
path: root/src/errors.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/errors.rs')
-rw-r--r--src/errors.rs9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/errors.rs b/src/errors.rs
index 2878e37..cb6efa8 100644
--- a/src/errors.rs
+++ b/src/errors.rs
@@ -12,14 +12,7 @@ pub enum ContextualError {
/// MultipartError, which might occur during file upload, when processing the multipart request fails
#[fail(display = "Failed to process multipart request\ncaused by: {}", _0)]
- MultipartError(actix_web::error::MultipartError),
-
- /// This error might occur when decoding the HTTP authentication header.
- #[fail(
- display = "Failed to decode HTTP authentication header\ncaused by: {}",
- _0
- )]
- Base64DecodeError(base64::DecodeError),
+ MultipartError(actix_multipart::MultipartError),
/// Any error related to an invalid path (failed to retrieve entry name, unexpected entry type, etc)
#[fail(display = "Invalid path\ncaused by: {}", _0)]