MCPcopy Create free account
hub / github.com/pybind/pybind11 / MyException5

Class MyException5

tests/test_exceptions.cpp:72–75  ·  view source on GitHub ↗

Like the above, but declared via the helper function

Source from the content-addressed store, hash-verified

70
71// Like the above, but declared via the helper function
72class MyException5 : public std::logic_error {
73public:
74 explicit MyException5(const std::string &what) : std::logic_error(what) {}
75};
76
77// Inherits from MyException5
78class MyException5_1 : public MyException5 {

Callers 1

TEST_SUBMODULEFunction · 0.85

Calls

no outgoing calls

Tested by 1

TEST_SUBMODULEFunction · 0.68