ECrashExitCodes

Defines special exit codes used to diagnose abnormal terminations.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformCrashContext.h

Include

#include "GenericPlatform/GenericPlatformCrashContext.h"

Syntax

enum ECrashExitCodes
{
    MonitoredApplicationStillRunning            = 777001,
    MonitoredApplicationExitCodeNotAvailable    = 777002,
    CrashReporterCrashed                        = 777003,
    CrashHandlerCrashed                         = 777004,
    OutOfProcessReporterExitedUnexpectedly      = 777005,
}

Values

Name

Description

MonitoredApplicationStillRunning

Used by out-of-process monitor in analytics report, the application is still running, but out-of-process monitor was requested to exit before the application exit code could be read.

MonitoredApplicationExitCodeNotAvailable

Used by out-of-process monitor in analytics report, the application is not running anymore, but the out-of-process monitor could not read the Editor exit code (either is is not supported by the OS or is not available).

CrashReporterCrashed

Used by the application when the crash reporter crashed itself while reporting a crash.

CrashHandlerCrashed

Used by the application when the crash handler crashed itself (crash in the __except() clause for example).

OutOfProcessReporterExitedUnexpectedly

Used by the application to flag when it detects that its out-of-process applicate supposed to report the bugs died (ex if CrashReportClientEditor dies before the Editor).

Remarks

Defines special exit codes used to diagnose abnormal terminations. The code values are arbitrary, but easily recongnizable in decimal. They are meant to be used with the out-of-process monitoring/analytics in order to figure out unexpected cases.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss