MCPcopy Create free account
hub / github.com/beefytech/Beef / SoftFail

Method SoftFail

IDEHelper/DbgModule.cpp:2374–2394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2372}
2373
2374void 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
2396void DbgModule::HardFail(const StringImpl& error)
2397{

Callers

nothing calls this directly

Calls 2

IsEmptyMethod · 0.45
OutputRawMessageMethod · 0.45

Tested by

no test coverage detected