MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / reportErrorAndContinue

Function reportErrorAndContinue

Source/Falcor/Core/Error.cpp:82–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82void reportErrorAndContinue(std::string_view msg)
83{
84 logError(msg);
85
86 if (is_set(gErrorDiagnosticFlags, ErrorDiagnosticFlags::ShowMessageBoxOnError))
87 {
88 // Show message box
89 msgBox("Error", std::string(msg), MsgBoxType::Ok, MsgBoxIcon::Error);
90 }
91}
92
93bool reportErrorAndAllowRetry(std::string_view msg)
94{

Callers 3

loadScriptMethod · 0.85
registerBindingFunction · 0.85

Calls 3

logErrorFunction · 0.85
stringFunction · 0.85
msgBoxFunction · 0.50

Tested by

no test coverage detected