MCPcopy Create free account
hub / github.com/Snapchat/Valdi / storeException

Method storeException

valdi/src/valdi/jscore/JavaScriptCoreContext.cpp:1111–1114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1109#endif
1110 }
1111}
1112
1113Valdi::JSValueRef JavaScriptCoreContext::callObjectAsFunction(const Valdi::JSValue& object,
1114 Valdi::JSFunctionCallContext& callContext) {
1115 auto functionObject = fromValdiJSValue(object).asObjectRefOrThrow(*this, callContext.getExceptionTracker());
1116 if (!callContext.getExceptionTracker()) {
1117 return Valdi::JSValueRef();

Callers 4

TESTFunction · 0.45
setExceptionToTrackerMethod · 0.45
evaluateMethod · 0.45
setExceptionToTrackerMethod · 0.45

Calls 2

JSCoreRefClass · 0.85
toValdiJSValueFunction · 0.70

Tested by 1

TESTFunction · 0.36