| 563 | }; |
| 564 | |
| 565 | struct raised_exception : public std::exception { |
| 566 | std::string message; |
| 567 | raised_exception(const std::string & msg) : message(msg) {} |
| 568 | const char* what() const noexcept override { |
| 569 | return message.c_str(); |
| 570 | } |
| 571 | }; |
| 572 | |
| 573 | // Used to rethrow exceptions with modified messages |
| 574 | struct rethrown_exception : public std::exception { |
no outgoing calls
no test coverage detected