21.02
|
Error class for failures during test execution. More...
#include <Exceptions.h>
Public Member Functions | |
TestError (const std::string &msg, LogLevel level, std::string context="") | |
Construct error with severity. More... | |
LogLevel | level () const |
Severity of the error. More... | |
const char * | what () const noexcept override |
Get the error message. More... | |
Error class for failures during test execution.
Definition at line 78 of file Exceptions.h.
Construct error with severity.
[in] | msg | Error message. |
[in] | level | Severity level. |
[in] | context | Context. |
Definition at line 112 of file Exceptions.cpp.
References TestError::level().
LogLevel level | ( | ) | const |
Severity of the error.
Definition at line 121 of file Exceptions.cpp.
Referenced by Framework::error_on_missing_assets(), Framework::log_failed_expectation(), and TestError::TestError().
|
overridenoexcept |