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

Function handleFatalError

valdi_core/src/valdi_core/jni/JavaUtils.cpp:883–887  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

881}
882
883[[noreturn]] void handleFatalError(std::string_view message) {
884 SC_ABORT(message.data());
885 JavaEnv::accessEnv([&](JNIEnv& env) { throwJavaValdiException(&env, message.data()); });
886 std::abort();
887}
888
889JavaIterator::JavaIterator(JavaObject&& iterator) : _iterator(std::move(iterator)) {}
890JavaIterator::~JavaIterator() = default;

Calls 2

throwJavaValdiExceptionFunction · 0.85
dataMethod · 0.45

Tested by

no test coverage detected