Enum hlua_badtouch::LuaError [] [src]

pub enum LuaError {
    SyntaxError(String),
    ExecutionError(String),
    ReadError(IoError),
    WrongType,
}

Error that can happen when executing Lua code.

Variants

There was a syntax error when parsing the Lua code.

There was an error during execution of the Lua code (for example not enough parameters for a function call).

There was an IoError while reading the source code to execute.

The call to execute has requested the wrong type of data.

Trait Implementations

impl<E> From<LuaError> for LuaFunctionCallError<E>
[src]

[src]

Performs the conversion.

impl From<LuaFunctionCallError<Void>> for LuaError
[src]

[src]

Performs the conversion.

impl Debug for LuaError
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for LuaError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for LuaError
[src]

[src]

A short description of the error. Read more

[src]

The lower-level cause of this error, if any. Read more

impl From<Error> for LuaError
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for LuaError

impl Sync for LuaError