Runtime:hideErrorAlerts()

Type Function
Object Runtime
Library none
Return value none
Revision 2017.3060
Keywords runtime, hideErrorAlerts
See also unhandledError

Overview

Disables the runtime error alert that appears if the application hits an error condition. This is shorthand for defining your own unhandledError listener and returning true.

Note that syntax errors and out of memory errors will still cause an error alert and that disabling the alert does not mean that the error itself is ignored. Errors will still interrupt the execution of Lua code in listeners and functions.

Syntax

Runtime:hideErrorAlerts()