MCPcopy Create free account
hub / github.com/Phobos-developers/Phobos / FatalErrorAndExit

Method FatalErrorAndExit

src/Utilities/Debug.cpp:69–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69void Debug::FatalErrorAndExit(const char* pFormat, ...)
70{
71 va_list args;
72 va_start(args, pFormat);
73 LogWithVArgs(pFormat, args);
74 va_end(args);
75 MessageBox(0, StringBuffer, "Fatal error ", MB_ICONERROR);
76 FatalExit(static_cast<int>(ExitCode::Undefined));
77}
78
79void Debug::FatalErrorAndExit(ExitCode nExitCode, const char* pFormat, ...)
80{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected