Added key-based authentication
This commit is contained in:
@@ -14,6 +14,8 @@ pub enum AppError {
|
||||
Child(String),
|
||||
#[error("Protocol error: {0}")]
|
||||
Protocol(String),
|
||||
#[error("Access denied by server")]
|
||||
AccessDenied,
|
||||
}
|
||||
|
||||
pub type Result<T> = std::result::Result<T, AppError>;
|
||||
|
||||
Reference in New Issue
Block a user