MCPcopy Create free account
hub / github.com/BabylonJS/BabylonNative / ThrowIfFailed

Function ThrowIfFailed

Core/AppRuntime/Source/AppRuntimeChakra.cpp:12–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10 namespace
11 {
12 void ThrowIfFailed(JsErrorCode errorCode)
13 {
14 if (errorCode != JsErrorCode::JsNoError)
15 {
16 throw std::exception();
17 }
18 }
19 }
20
21 void AppRuntime::RunEnvironmentTier(const char*)

Callers 1

RunEnvironmentTierMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected