Function exitWithError

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.

void exitWithError(
  string message = ""
);

Parameters

NameDescription
message Optional error message to log before exiting.