error trait

This commit is contained in:
Quaternions 2024-10-03 21:22:43 -07:00
parent c12ad7df0f
commit 317400548d

View File

@ -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)?;