mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-30 16:37:56 +00:00
First cut of custom exception support
This commit is contained in:
parent
d4117b9208
commit
9430a2c4c8
8 changed files with 192 additions and 2 deletions
|
@ -577,7 +577,7 @@ namespace Catch
|
|||
}
|
||||
catch(...)
|
||||
{
|
||||
acceptMessage( "unknown exception" );
|
||||
acceptMessage( Catch::Hub::getExceptionTranslatorRegistry().translateActiveException() );
|
||||
acceptResult( ResultWas::ThrewException );
|
||||
}
|
||||
m_info.clear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue