pub fn lua_error(state: &mut LuaState, msg: &[u8]) -> Result<usize, LuaError>Expand description
Format a runtime error with source location and raise it.
Always returns Err.
C: LUALIB_API int luaL_error(lua_State *L, const char *fmt, ...)
PORT NOTE: C uses varargs + lua_pushvfstring. Rust callers pass a
pre-formatted &[u8] message; use format_args! at the call site.