aboutsummaryrefslogtreecommitdiffstats
path: root/src/errors.rs
diff options
context:
space:
mode:
authorSven-Hendrik Haase <svenstaro@gmail.com>2025-02-06 02:03:47 +0000
committerGitHub <noreply@github.com>2025-02-06 02:03:47 +0000
commit41ccc9f0c9e3b20434389d7ddb4a922b21c8f765 (patch)
tree0907869057fea553c26601aaca6d2443fcc9de97 /src/errors.rs
parentMerge pull request #1470 from svenstaro/dependabot/cargo/all-dependencies-184... (diff)
parentadd read-only webdav support (diff)
downloadminiserve-41ccc9f0c9e3b20434389d7ddb4a922b21c8f765.tar.gz
miniserve-41ccc9f0c9e3b20434389d7ddb4a922b21c8f765.zip
Merge pull request #1415 from ahti/webdav
add read-only webdav support
Diffstat (limited to 'src/errors.rs')
-rw-r--r--src/errors.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/errors.rs b/src/errors.rs
index 21f8f12..99c15ff 100644
--- a/src/errors.rs
+++ b/src/errors.rs
@@ -24,6 +24,9 @@ Please set an explicit serve path like: `miniserve /my/path`")]
/// In case miniserve was invoked with --no-symlinks but the serve path is a symlink
#[error("The -P|--no-symlinks option was provided but the serve path '{0}' is a symlink")]
NoSymlinksOptionWithSymlinkServePath(String),
+
+ #[error("The --enable-webdav option was provided, but the serve path '{0}' is a file")]
+ WebdavWithFileServePath(String),
}
#[derive(Debug, Error)]