Static rglua::lua::luaL_error[][src]

pub static luaL_error: Lazy<extern "C" fn(l: LuaState, fmt: LuaString, ...) -> !>
Expand description

Raises an error. The error message format is given by fmt plus any extra arguments, following the same rules of lua_pushfstring. It also adds at the beginning of the message the file name and the line number where the error occurred, if this information is available.