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

Function nativeCheckError

valdi/src/valdi/android/MarshallerJNI.cpp:330–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

328 auto convertedStr = ValdiAndroid::toInternedString(ValdiAndroid::JavaEnv(), error);
329 marshaller->getExceptionTracker().onError(Valdi::Error(convertedStr));
330}
331
332void nativeCheckError(JNIEnv* env,
333
334 jclass /*cls*/,
335 jlong ptr) {
336 auto* marshaller = unwrap(env, ptr);
337 if (marshaller == nullptr) {
338 return;
339 }
340 checkMarshaller(env, marshaller);
341}
342

Callers 1

checkErrorMethod · 0.85

Calls 2

unwrapFunction · 0.85
checkMarshallerFunction · 0.85

Tested by

no test coverage detected