| 4164 | #if !defined(CATCH_CONFIG_DISABLE_EXCEPTIONS) |
| 4165 | namespace { |
| 4166 | static std::string tryTranslators( |
| 4167 | std::vector< |
| 4168 | Detail::unique_ptr<IExceptionTranslator const>> const& translators ) { |
| 4169 | if ( translators.empty() ) { |
| 4170 | std::rethrow_exception( std::current_exception() ); |
| 4171 | } else { |
| 4172 | return translators[0]->translate( translators.begin() + 1, |
| 4173 | translators.end() ); |
| 4174 | } |
| 4175 | } |
| 4176 | |
| 4177 | } |
| 4178 | #endif //!defined(CATCH_CONFIG_DISABLE_EXCEPTIONS) |
no test coverage detected