From db42316544c65951c7781357ec5aaba1b9abb8ab Mon Sep 17 00:00:00 2001 From: HampusM Date: Fri, 9 Sep 2022 20:03:02 +0200 Subject: refactor: make AuthPromptHandler use the Hyper web server --- src/errors/auth.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/errors/auth.rs') 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, } -- cgit v1.2.3-18-g5258