MCPcopy Create free account
hub / github.com/TranslucentTB/TranslucentTB / HandleCriticalCommon

Method HandleCriticalCommon

ProgramLog/error/error.cpp:114–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114void Error::impl::HandleCriticalCommon(std::wstring_view message, std::wstring_view error_message, std::source_location location)
115{
116 auto dialogBoxThread = HandleCommon(spdlog::level::critical, message, error_message, location, UTIL_WIDEN(UTF8_ERROR_TITLE), APP_NAME L" has encountered a fatal error and cannot continue executing.", MB_ICONERROR | MB_TOPMOST);
117 if (dialogBoxThread.joinable())
118 {
119 dialogBoxThread.join();
120 }
121}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected