summaryrefslogtreecommitdiff
path: root/src/errors/auth.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-09-09 20:03:02 +0200
committerHampusM <hampus@hampusmat.com>2022-09-09 20:04:54 +0200
commitdb42316544c65951c7781357ec5aaba1b9abb8ab (patch)
tree13fd19efb80cf29f054c1760e8580f4379ce6a6a /src/errors/auth.rs
parent8a02d3386d4ce0b58de943fcf42bd072af1e0b42 (diff)
refactor: make AuthPromptHandler use the Hyper web server
Diffstat (limited to 'src/errors/auth.rs')
-rw-r--r--src/errors/auth.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/errors/auth.rs b/src/errors/auth.rs
index 656673e..a165e05 100644
--- a/src/errors/auth.rs
+++ b/src/errors/auth.rs
@@ -7,4 +7,8 @@ pub enum AuthPromptHandlerError
/// HTTP server failed to bind to a address.
#[error("HTTP server failed to bind to address")]
BindAddressFailed,
+
+ /// Invalid address.
+ #[error("Invalid address")]
+ InvalidAddress,
}