A custom crash handler that writes to a log file and displays a message box.
Static variables
staticread onlycriticalErrorSignal:FlxTypedSignal<String ‑> Void> = new FlxTypedSignal<String>()
Called before exiting the game when a critical error occurs, like a stack overflow or null object reference. CAREFUL: The game may be in an unstable state when this is called.
Parameters:
message | The error message. |
|---|
staticread onlyerrorSignal:FlxTypedSignal<String ‑> Void> = new FlxTypedSignal<String>()
Called before exiting the game when a standard error occurs, like a thrown exception.
Parameters:
message | The error message. |
|---|