| 4061 | namespace Catch { |
| 4062 | #if defined(CATCH_CONFIG_DISABLE_EXCEPTIONS) && !defined(CATCH_CONFIG_DISABLE_EXCEPTIONS_CUSTOM_HANDLER) |
| 4063 | [[noreturn]] |
| 4064 | void throw_exception(std::exception const& e) { |
| 4065 | Catch::cerr() << "Catch will terminate because it needed to throw an exception.\n" |
| 4066 | << "The message was: " << e.what() << '\n'; |
| 4067 | std::terminate(); |
| 4068 | } |
| 4069 | #endif |
| 4070 | |
| 4071 | [[noreturn]] |
no test coverage detected