Searched refs:MyException2 (Results 1 – 1 of 1) sorted by relevance
22 class MyException2 : public std::exception { class24 explicit MyException2(const char * m) : message{m} {} in MyException2() function in MyException2116 } catch (const MyException2 &e) { in TEST_SUBMODULE()139 …m.def("throws2", []() { throw MyException2("this error should go to a standard Python exception");… in TEST_SUBMODULE()