benilla-re systems structs docs

FrameScriptCallErrorHandler

function · ui · orchestration

Address
0x703b40 · 57 bytes, up to 0x703b78
Signature
int __thiscall (void *this)
Meaning
Calls the function seterrorhandler set with the message and returns its result, or the message
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 3

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