Module dagon.core.crashhandler
Utility module for graceful error handling, mainly on Windows
Description
Under Windows, the dagon module registers a global
unhandled exception filter that logs a stack trace (for debug builds under x86_64).
This is useful to debug access violations such as acessing invalid pointers.
The module also provides exitWithError function to terminate the application
with an error message box.
Functions
| Name | Description |
|---|---|
exitWithError(message)
|
Immediately terminates the application, printing an optional fatal error to the logger. If an error message is specified, it will be shown in a modal message box. |