MCPcopy Create free account
hub / github.com/catchorg/Catch2 / CATCH_TRANSLATE_EXCEPTION

Function CATCH_TRANSLATE_EXCEPTION

tests/SelfTest/UsageTests/Exception.tests.cpp:126–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124
125
126CATCH_TRANSLATE_EXCEPTION( CustomException const& ex ) {
127 return ex.getMessage();
128}
129
130CATCH_TRANSLATE_EXCEPTION( CustomStdException const& ex ) {
131 return ex.getMessage();

Callers

nothing calls this directly

Calls 2

stringifyFunction · 0.50
getMessageMethod · 0.45

Tested by

no test coverage detected