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

Method LocalSimpleException

tests/local_bindings.h:53–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51class LocalSimpleException : public std::exception {
52public:
53 explicit LocalSimpleException(const char *m) : message{m} {}
54 const char *what() const noexcept override { return message.c_str(); }
55
56private:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected