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

Method onJsCrash

valdi/src/valdi/android/ViewManager.cpp:241–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239}
240
241void ViewManager::onJsCrash(const Valdi::StringBox& moduleName,
242 const std::string& errorMessage,
243 const std::string& stackTrace,
244 bool isANR) {
245 _onJsCrash.call(toObject(), moduleName.slowToString(), errorMessage, stackTrace, isANR);
246}
247
248Valdi::Value ViewManager::createViewNodeWrapper(const Valdi::Ref<Valdi::ViewNode>& viewNode,
249 bool wrapInPlatformReference) {

Callers 1

onANRMethod · 0.45

Calls 3

toObjectFunction · 0.85
slowToStringMethod · 0.80
callMethod · 0.65

Tested by

no test coverage detected