FunctionScope
Supplies the APIs available during the invocation of a function hook.
If an error is detected, an SQLiteException can be thrown, which is equivalent to calling resultError. Only SQLiteException is recognized as a normal error, any other exception type is not caught and propagates instead. resultErrorNoMem and resultErrorTooBig are message-less, allocation-free alternatives SQLite provides for two failure classes it treats specially, see their own documentation.
Inheritors
Functions
Fails the function call with message. Equivalent to throwing an SQLiteException with result as its error code.
Fails the function call, indicating that a memory allocation failed. Unlike resultError, this does not accept a message and performs no allocation of its own, so it remains safe to call even when memory is already exhausted.
Fails the function call with a canned "string or BLOB too big" error. Unlike resultError, this does not accept a message, since the failure is already self-explanatory and does not need one formatted.