aboutsummaryrefslogtreecommitdiff
path: root/src/error.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-08-19 13:53:05 +0200
committermetamuffin <metamuffin@disroot.org>2024-08-19 13:53:05 +0200
commit7db0a67f072d212697cda117bd65d658590e279e (patch)
treebba60d66721c3343a87500dbe15c02c8afd11d2f /src/error.rs
parentad13722e62d96eb84fa72f595bf3cfd3b570155f (diff)
downloadgnix-7db0a67f072d212697cda117bd65d658590e279e.tar
gnix-7db0a67f072d212697cda117bd65d658590e279e.tar.bz2
gnix-7db0a67f072d212697cda117bd65d658590e279e.tar.zst
remove authority from uri when translating to h1
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs
index e6f7646..636f226 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -40,6 +40,8 @@ pub enum ServiceError {
ParseIntError(#[from] std::num::ParseIntError),
#[error("invalid header")]
InvalidHeader,
+ #[error("invalid uri")]
+ InvalidUri,
#[error("impossible error")]
Other,
}