error trait
This commit is contained in:
parent
c12ad7df0f
commit
317400548d
@ -22,6 +22,7 @@ impl std::fmt::Display for Error{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
impl std::error::Error for Error{}
|
||||||
|
|
||||||
fn init(lua:&mlua::Lua)->mlua::Result<()>{
|
fn init(lua:&mlua::Lua)->mlua::Result<()>{
|
||||||
lua.sandbox(true)?;
|
lua.sandbox(true)?;
|
||||||
|
Loading…
Reference in New Issue
Block a user