| 35 | class MyException2 : public std::exception { |
| 36 | public: |
| 37 | explicit MyException2(const char *m) : message{m} {} |
| 38 | const char *what() const noexcept override { return message.c_str(); } |
| 39 | |
| 40 | private: |
nothing calls this directly
no outgoing calls
no test coverage detected