summaryrefslogtreecommitdiff
path: root/src/errors/auth.rs
blob: a165e05baf1079e87198f867a87eb3637aa76a2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Authentication related error types.

/// Authentication prompt handler error.
#[derive(Debug, thiserror::Error)]
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,
}