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

Method MyException

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

Source from the content-addressed store, hash-verified

21class MyException : public std::exception {
22public:
23 explicit MyException(const char *m) : message{m} {}
24 const char *what() const noexcept override { return message.c_str(); }
25
26private:

Callers 1

throw_myexFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected