Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Catch::StartupExceptionRegistry Class Reference

#include <catch_startup_exception_registry.h>

Public Member Functions

void add (std::exception_ptr const &exception) noexcept
 
std::vector< std::exception_ptr > const & getExceptions () const noexcept
 

Detailed Description

Definition at line 17 of file catch_startup_exception_registry.h.

Member Function Documentation

◆ add()

void Catch::StartupExceptionRegistry::add ( std::exception_ptr const & exception)
noexcept

Definition at line 13 of file catch_startup_exception_registry.cpp.

13 {
14 CATCH_TRY {
15 m_exceptions.push_back(exception);
17 // If we run out of memory during start-up there's really not a lot more we can do about it
18 std::terminate();
19 }
20 }
#define CATCH_TRY
#define CATCH_CATCH_ALL

◆ getExceptions()

std::vector< std::exception_ptr > const & Catch::StartupExceptionRegistry::getExceptions ( ) const
noexcept

Definition at line 22 of file catch_startup_exception_registry.cpp.

22 {
23 return m_exceptions;
24 }
Here is the caller graph for this function:

The documentation for this class was generated from the following files: