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

Method what

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

Source from the content-addressed store, hash-verified

63public:
64 explicit MyException4(const char *m) : message{m} {}
65 const char *what() const noexcept override { return message.c_str(); }
66
67private:
68 std::string message = "";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected