Enum hlua::LuaError
[−]
[src]
pub enum LuaError { SyntaxError(String), ExecutionError(String), ReadError(IoError), WrongType, }
Error that can happen when executing Lua code.
Variants
SyntaxError(String)
There was a syntax error when parsing the Lua code.
ExecutionError(String)
There was an error during execution of the Lua code (for example not enough parameters for a function call).
ReadError(IoError)
There was an IoError while reading the source code to execute.
WrongType
The call to execute
has requested the wrong type of data.
Trait Implementations
impl Debug for LuaError
[src]
impl Display for LuaError
[src]
impl Error for LuaError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more