diff --git a/src/botscript.rs b/src/botscript.rs index c871ab2..8184e76 100644 --- a/src/botscript.rs +++ b/src/botscript.rs @@ -13,6 +13,8 @@ pub enum ScriptError { ContextError(#[from] ContextError), #[error("error running: {0:?}")] ExecutionError(#[from] ExecutionError), + #[error("error from anyhow: {0:?}")] + SerdeError(#[from] quickjs_rusty::serde::Error), } pub type ScriptResult = Result;