Add generic error variant

This commit is contained in:
2026-06-21 12:27:04 -04:00
parent aba4556144
commit 557489c5ed

View File

@@ -242,6 +242,8 @@ impl<E: Into<Error>> Contextualize<Error> for E {
#[derive(Debug, Clone, thiserror::Error, Deserialize, Serialize)]
pub enum ErrorType {
#[error("{0}")]
Error(String),
}
impl From<ErrorType> for Error {