diff options
| author | metamuffin <metamuffin@disroot.org> | 2024-08-19 13:53:05 +0200 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2024-08-19 13:53:05 +0200 |
| commit | 7db0a67f072d212697cda117bd65d658590e279e (patch) | |
| tree | bba60d66721c3343a87500dbe15c02c8afd11d2f /src/error.rs | |
| parent | ad13722e62d96eb84fa72f595bf3cfd3b570155f (diff) | |
| download | gnix-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.rs | 2 |
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, } |