MCPcopy Create free account
hub / github.com/Snapchat/djinni / throw_an_exception

Method throw_an_exception

test-suite/handwritten-src/cpp/cpp_exception_impl.cpp:7–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5namespace testsuite {
6
7int32_t CppExceptionImpl::throw_an_exception() {
8 throw ExampleException();
9}
10
11int32_t CppExceptionImpl::call_throwing_interface(const /*not-null*/ std::shared_ptr<ThrowingInterface>& cb) {
12 cb->throw_exception();

Callers

nothing calls this directly

Calls 1

ExampleExceptionClass · 0.85

Tested by

no test coverage detected