Add HTTP server error variant

This commit is contained in:
2026-07-14 20:11:04 -04:00
parent d66871f2f5
commit 4836108926

View File

@@ -327,6 +327,9 @@ pub enum ErrorType {
// and Fred is only available on the server
#[error("Key-value store error: {0}")]
KeyValStore(String),
#[error("HTTP server error: {0}")]
HttpServer(String),
}
impl From<ErrorType> for Error {