Function OSSingleton.exitCode

The exit code passed to the OS when the main loop exits. By convention, an exit code of 0 indicates success whereas a non-zero exit code indicates an error. For portability reasons, the exit code should be set between 0 and 125 (inclusive). Note: This value will be ignored if using SceneTree.quit with an exit_code argument passed.

long exitCode() nothrow @property @nogc;

void exitCode (
  long v
) nothrow @property @nogc;