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.
PORT NOTE: C uses varargs + lua_pushvfstring. Rust callers pass a
pre-formatted &[u8] message; use format_args! at the call site.