MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / tryTranslators

Method tryTranslators

unittests/catch.hpp:7293–7298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7291 }
7292
7293 std::string ExceptionTranslatorRegistry::tryTranslators() const {
7294 if( m_translators.empty() )
7295 std::rethrow_exception(std::current_exception());
7296 else
7297 return m_translators[0]->translate( m_translators.begin()+1, m_translators.end() );
7298 }
7299}
7300// end catch_exception_translator_registry.cpp
7301// start catch_fatal_condition.cpp

Callers

nothing calls this directly

Calls 4

translateMethod · 0.80
emptyMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected