Searched refs:MyException4 (Results 1 – 1 of 1) sorted by relevance
48 class MyException4 : public std::exception { class50 explicit MyException4(const char * m) : message{m} {} in MyException4() function in MyException4128 } catch (const MyException4 &e) { in TEST_SUBMODULE()141 m.def("throws4", []() { throw MyException4("this error is rethrown"); }); in TEST_SUBMODULE()