MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/xstudio / set_py_exception

Function set_py_exception

src/python_module/src/py_context.cpp:103–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103template <class... Ts> void set_py_exception(Ts &&...xs) {
104 std::ostringstream oss;
105 set_py_exception_fill(oss, std::forward<Ts>(xs)...);
106 throw std::runtime_error(oss.str().c_str());
107}
108
109py_context::py_context(int argc, char **argv)
110 : py_config(argc, argv),

Callers 9

py_build_messageMethod · 0.85
py_sendMethod · 0.85
py_spawnMethod · 0.85
py_remote_spawnMethod · 0.85
py_requestMethod · 0.85
py_send_exitMethod · 0.85
tuple_from_messageMethod · 0.85

Calls 1

set_py_exception_fillFunction · 0.85

Tested by

no test coverage detected