MCPcopy Create free account
hub / github.com/TranslucentTB/TranslucentTB / err>

Method err>

ProgramLog/error/error.cpp:53–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51
52template<>
53void Error::impl::Handle<spdlog::level::err>(std::wstring_view message, std::wstring_view error_message, std::source_location location)
54{
55 auto dialogBoxThread = HandleCommon(spdlog::level::err, message, error_message, location, UTIL_WIDEN(UTF8_ERROR_TITLE), APP_NAME L" has encountered an error.", MB_ICONWARNING);
56 if (dialogBoxThread.joinable())
57 {
58 dialogBoxThread.detach();
59 }
60 else
61 {
62 DebugBreak();
63 }
64}
65
66template<>
67void Error::impl::Handle<spdlog::level::critical>(std::wstring_view message, std::wstring_view error_message, std::source_location location)

Callers

nothing calls this directly

Calls 1

detachMethod · 0.80

Tested by

no test coverage detected