aboutsummaryrefslogtreecommitdiffstats
path: root/src/errors.rs
diff options
context:
space:
mode:
authorSven-Hendrik Haase <svenstaro@gmail.com>2020-07-21 17:33:44 +0000
committerGitHub <noreply@github.com>2020-07-21 17:33:44 +0000
commit5fb1e3adaf7c3712e15615458eec89277f98951e (patch)
tree7b73615055631658a94a57c20b09431f5c1de8bc /src/errors.rs
parentMerge pull request #331 from svenstaro/dependabot/cargo/select-0.5.0 (diff)
parentRemove unrelevant comments (diff)
downloadminiserve-5fb1e3adaf7c3712e15615458eec89277f98951e.tar.gz
miniserve-5fb1e3adaf7c3712e15615458eec89277f98951e.zip
Merge pull request #343 from equal-l2/actix-2
Update to actix 2 and futures 0.3
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)]