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

Method MyException4

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

Source from the content-addressed store, hash-verified

62class MyException4 : public std::exception {
63public:
64 explicit MyException4(const char *m) : message{m} {}
65 const char *what() const noexcept override { return message.c_str(); }
66
67private:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected