Enum gluac_rs::LuaError [−][src]
pub enum LuaError { MemoryAllocationError, SyntaxError(Option<String>), FileError(Option<String>), RuntimeError(Option<String>), ErrorHandlerError, Unknown(LuaInt), PoisonError, }
Variants
Out of memory
LUA_ERRMEM
A syntax error occurred in the passed Lua source code.
LUA_ERRSYNTAX
Lua failed to load the given file
LUA_ERRFILE
A runtime error occurred while compiling bytecode.
LUA_ERRRUN
An error occurred while running the error handler function.
LUA_ERRERR
Unknown(LuaInt)
Unknown Lua error code
The Mutex guarding the Lua state is poisoned by a panic in another thread.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LuaError
impl UnwindSafe for LuaError
Blanket Implementations
Mutably borrows from an owned value. Read more