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]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.