Add HTTP server error variant
This commit is contained in:
@@ -327,6 +327,9 @@ pub enum ErrorType {
|
|||||||
// and Fred is only available on the server
|
// and Fred is only available on the server
|
||||||
#[error("Key-value store error: {0}")]
|
#[error("Key-value store error: {0}")]
|
||||||
KeyValStore(String),
|
KeyValStore(String),
|
||||||
|
|
||||||
|
#[error("HTTP server error: {0}")]
|
||||||
|
HttpServer(String),
|
||||||
}
|
}
|
||||||
|
|
||||||
impl From<ErrorType> for Error {
|
impl From<ErrorType> for Error {
|
||||||
|
|||||||
Reference in New Issue
Block a user