MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / handleVectoredException

Method handleVectoredException

unittests/catch.hpp:7334–7343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7332 };
7333
7334 LONG CALLBACK FatalConditionHandler::handleVectoredException(PEXCEPTION_POINTERS ExceptionInfo) {
7335 for (auto const& def : signalDefs) {
7336 if (ExceptionInfo->ExceptionRecord->ExceptionCode == def.id) {
7337 reportFatal(def.name);
7338 }
7339 }
7340 // If its not an exception we care about, pass it along.
7341 // This stops us from eating debugger breaks etc.
7342 return EXCEPTION_CONTINUE_SEARCH;
7343 }
7344
7345 FatalConditionHandler::FatalConditionHandler() {
7346 isSet = true;

Callers

nothing calls this directly

Calls 1

reportFatalFunction · 0.85

Tested by

no test coverage detected