libwreport  3.5
Public Member Functions | Data Fields
wreport::tests::TestFailed Struct Reference

Exception raised when a test assertion fails, normally by Location::fail_test. More...

#include <tests.h>

Inheritance diagram for wreport::tests::TestFailed:

Public Member Functions

 TestFailed (const std::exception &e)
 
template<typename... Args>
 TestFailed (const std::exception &e, Args &&...args)
 
 TestFailed (const std::string &message)
 
template<typename... Args>
 TestFailed (const std::string &message, Args &&...args)
 
const char * what () const noexceptoverride
 
template<typename... Args>
void add_stack_info (Args &&...args)
 

Data Fields

std::string message
 
TestStack stack
 

Detailed Description

Exception raised when a test assertion fails, normally by Location::fail_test.


The documentation for this struct was generated from the following file: