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

Method ThrowObjectNotInitialized

BeefRT/rt/Internal.cpp:440–451  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

438}
439
440void Internal::ThrowObjectNotInitialized(intptr stackOffset)
441{
442 if (gClientPipeErrorFunc != NULL)
443 gClientPipeErrorFunc("Object not initialized", 0);
444 else if ((stackOffset != -1) && (::IsDebuggerPresent()))
445 {
446 SETUP_ERROR("Object not initialized", (int)(2 + stackOffset));
447 BF_DEBUG_BREAK();
448 }
449
450 Internal_FatalError("Object not initialized");
451}
452
453void Internal::FatalError(bf::System::String* error, intptr stackOffset)
454{

Callers

nothing calls this directly

Calls 2

IsDebuggerPresentFunction · 0.85
Internal_FatalErrorFunction · 0.85

Tested by

no test coverage detected