benilla-re systems structs docs

ScriptGetErrorHandler

function · ui · orchestration

Address
0x702950 · 22 bytes, up to 0x702965
Signature
int __fastcall (lua_State *L)
Meaning
Serves geterrorhandler: returns the function seterrorhandler set, or nil
Confidence
verified, proof two
Finding
ui/luastate#error-handlers

Finding: Error handlers in ui: the Lua state, its library and C functions

A script error inside a handler is passed to the error handler 0x703b40: when a function has been set with seterrorhandler, it calls that function with the message and returns its result; otherwise the message is returned unchanged. seterrorhandler(f) raises Usage: seterrorhandler(errfunc) unless its first argument is a function, frees the old reference and keeps a reference to the top value; geterrorhandler() answers the function, or nil before one is set.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.