Function lua_error

Source
pub fn lua_error(l: LuaState) -> !
Expand description

Generates a Lua error. The error message (which can actually be a Lua value of any type) must be on the stack top.T This function does a long jump, and therefore never returns. (see luaL_error).