A custom crash handler that writes to a log file and displays a message box.

Static variables

@:value("logs")staticfinalread onlyLOG_FOLDER:String = "logs"

@:value(new FlxTypedSignal<String>())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.

@:value(new FlxTypedSignal<String>())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.

Static methods

staticbuildSystemInfo():String

staticinduceBasicCrash():Void

@:has_untypedstaticinitialize():Void

Initializes

staticqueryStatus():Void