onError(action: (err: Error)=>void): void
Register a custom error handler. Can be used to draw a custom error screen.
param
action- The function to run when the event is triggered.
returns
The event controller.
since
v3000.0
group
Events
Register a custom error handler. Can be used to draw a custom error screen.
param
action- The function to run when the event is triggered.
returns
The event controller.
since
v3000.0
group
Events
Assets
Game Obj
Components
Component Types
Scene
Input
Events
Info
Math
Misc
Button Bindings
GFX
Draw
Layer
Camera
Layers
Level
Plugins