Function registerTranslator

Synopsis

#include <include/internal/catch_exception_translator_registry.h>

void registerTranslator(const IExceptionTranslator *translator)

Description

No description yet.

Source

Lines 23-25 in include/internal/catch_exception_translator_registry.cpp. Line 21 in include/internal/catch_exception_translator_registry.h.

void ExceptionTranslatorRegistry::registerTranslator( const IExceptionTranslator* translator ) {
    m_translators.push_back( std::unique_ptr<const IExceptionTranslator>( translator ) );
}





Add Discussion as Guest

Log in