FangEngine.error_log

Function log_exception(show_dialog: bool = True) -> str

In the event of an exception, this method writes the stacktrace
out to a file in the "errors" directory (created if not exists)
And shows a dialog alerting the user of the error (if enabled)
Parameter show_dialog: If the dialog box should be shown, informing the user of the error
Returns the path to the error log file.