Skip to main content

lua_to_context

Function lua_to_context 

Source
fn lua_to_context(
    table: &LuaTable,
    protocol: Protocol,
    errors: Vec<GatewayError>,
) -> Result<Context, String>
Expand description

The context table a script returned, field by field. Every failure names the field: an opaque “error converting Lua string to table” left script authors (and agents) guessing at the shape.