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

Method LocalException

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

Source from the content-addressed store, hash-verified

41class LocalException : public std::exception {
42public:
43 explicit LocalException(const char *m) : message{m} {}
44 const char *what() const noexcept override { return message.c_str(); }
45
46private:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected