Skip to main content

error_lua_value

Function error_lua_value 

Source
pub fn error_lua_value(lua: &Lua, info: &ErrorInfo) -> Result<Table>
Expand description

Builds the structured error value the error model hands to Lua: the table on_error receives and nitr.errinfo returns. A plain table (it serializes to JSON for free) that stringifies — and concatenates — as the concise kind: message (source:line) form via a cached metatable.