| 2372 | } |
| 2373 | |
| 2374 | void DbgModule::SoftFail(const StringImpl& error) |
| 2375 | { |
| 2376 | if (mFailMsgPtr != NULL) |
| 2377 | { |
| 2378 | if (mFailMsgPtr->IsEmpty()) |
| 2379 | *mFailMsgPtr = error; |
| 2380 | } |
| 2381 | |
| 2382 | String errorStr = "errorsoft "; |
| 2383 | if (!mFilePath.IsEmpty()) |
| 2384 | { |
| 2385 | errorStr += "Error in "; |
| 2386 | errorStr += mFilePath; |
| 2387 | errorStr += ": "; |
| 2388 | } |
| 2389 | errorStr += error; |
| 2390 | errorStr += "\n"; |
| 2391 | |
| 2392 | mDebugger->OutputRawMessage(errorStr); |
| 2393 | mFailed = true; |
| 2394 | } |
| 2395 | |
| 2396 | void DbgModule::HardFail(const StringImpl& error) |
| 2397 | { |
nothing calls this directly
no test coverage detected