MCPcopy Create free account
hub / github.com/Nic30/hdlConvertor / get_cpp_py_error_message

Function get_cpp_py_error_message

hdlConvertor/toPy.cpp:429–438  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427}
428
429const char* get_cpp_py_error_message() {
430 try {
431 throw;
432 } catch (const ParseException &e) {
433 return e.what();
434 } catch (const std::exception &e) {
435 return e.what();
436 }
437 return "<unknown C++ exception>";
438}
439
440}

Callers

nothing calls this directly

Calls 1

whatMethod · 0.80

Tested by

no test coverage detected