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

Method ThrowIndexOutOfRange

BeefRT/rt/Internal.cpp:427–438  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425}
426
427void Internal::ThrowIndexOutOfRange(intptr stackOffset)
428{
429 if (gClientPipeErrorFunc != NULL)
430 gClientPipeErrorFunc("Index out of range", 0);
431 else if ((stackOffset != -1) && (::IsDebuggerPresent()))
432 {
433 SETUP_ERROR("Index out of range", (int)(2 + stackOffset));
434 BF_DEBUG_BREAK();
435 }
436
437 Internal_FatalError("Index out of range");
438}
439
440void Internal::ThrowObjectNotInitialized(intptr stackOffset)
441{

Callers

nothing calls this directly

Calls 2

IsDebuggerPresentFunction · 0.85
Internal_FatalErrorFunction · 0.85

Tested by

no test coverage detected