aboutsummaryrefslogtreecommitdiffstats
path: root/src/errors.rs
diff options
context:
space:
mode:
authorAlec Di Vito <me@alecdivito.com>2025-02-22 18:44:16 +0000
committerAlec Di Vito <me@alecdivito.com>2025-02-22 18:44:16 +0000
commit577044ddbd70f5f128512c1a021329fb4c7e7eb3 (patch)
tree58e00fda45a09c5d6f1ab96a11f86aae1bbf2889 /src/errors.rs
parentfeat: implement temporary file uploads and tweak mobile design (diff)
downloadminiserve-577044ddbd70f5f128512c1a021329fb4c7e7eb3.tar.gz
miniserve-577044ddbd70f5f128512c1a021329fb4c7e7eb3.zip
feat: address comments; add in new argument (`temp-directory`); add comments to upload code; add tests
Diffstat (limited to 'src/errors.rs')
-rw-r--r--src/errors.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/errors.rs b/src/errors.rs
index 24997fc..b7d75f2 100644
--- a/src/errors.rs
+++ b/src/errors.rs
@@ -44,7 +44,7 @@ pub enum RuntimeError {
DuplicateFileError,
/// Uploaded hash not correct
- #[error("File hash that was provided did not match end result of uploaded file")]
+ #[error("File hash that was provided did not match checksum of uploaded file")]
UploadHashMismatchError,
/// Upload not allowed