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

Method MyException2

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

Source from the content-addressed store, hash-verified

35class MyException2 : public std::exception {
36public:
37 explicit MyException2(const char *m) : message{m} {}
38 const char *what() const noexcept override { return message.c_str(); }
39
40private:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected