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

Method what

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

Source from the content-addressed store, hash-verified

84public:
85 explicit MyException6(const char *m) : message{m} {}
86 const char *what() const noexcept override { return message.c_str(); }
87
88private:
89 std::string message = "";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected