From 557489c5edfb0b16b5c0b02e189bb504597e0567 Mon Sep 17 00:00:00 2001 From: Ethan Girouard Date: Sun, 21 Jun 2026 12:27:04 -0400 Subject: [PATCH] Add generic error variant --- src/util/error.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/util/error.rs b/src/util/error.rs index 57efcd7..663dab8 100644 --- a/src/util/error.rs +++ b/src/util/error.rs @@ -242,6 +242,8 @@ impl> Contextualize for E { #[derive(Debug, Clone, thiserror::Error, Deserialize, Serialize)] pub enum ErrorType { + #[error("{0}")] + Error(String), } impl From for Error {