Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
21
class MyException : public std::exception {
22
public:
23
explicit MyException(const char *m) : message{m} {}
24
const char *what() const noexcept override { return message.c_str(); }
25
26
private:
Callers
1
throw_myex
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected