| 80 | } |
| 81 | |
| 82 | void 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 | |
| 93 | bool reportErrorAndAllowRetry(std::string_view msg) |
| 94 | { |
no test coverage detected