Unit exception class thrown on a unit test assert definition. More...
#include <unit_exception.hpp>
Inherits std::exception.
Public Member Functions | |
unit_exception (std::string msg) noexcept | |
Constructs a unit_exception. | |
const char * | what () const noexcept override |
Unit exception class thrown on a unit test assert definition.
This unit_exception is thrown when an assert evaluates to false. This exception is caugt by the main test_suite serializable.
|
inlineexplicitnoexcept |
Constructs a unit_exception.
A serializable of type unit_exception with the given message is created.
msg | Message of the exception. |
|
inlineoverridenoexcept |
Returns the message of this exception.