From 317400548d756c5ffe1fb676c3045d4817ac0b45 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Thu, 3 Oct 2024 21:22:43 -0700 Subject: [PATCH] error trait --- src/runner/runner.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/runner/runner.rs b/src/runner/runner.rs index e952dc9..bf5def1 100644 --- a/src/runner/runner.rs +++ b/src/runner/runner.rs @@ -22,6 +22,7 @@ impl std::fmt::Display for Error{ } } } +impl std::error::Error for Error{} fn init(lua:&mlua::Lua)->mlua::Result<()>{ lua.sandbox(true)?;