Module to handle exceptions.
MIT. See LICENSE for full details.
An exception thrown when a unit test fails.
This exception derives from AssertError to make it possible for these errors to be thrown from nothrow methods.
Constructor.
string message | The error message. |
string file | The file where the error occurred. |
size_t line | The line where the error occurred. |
Return the exception log.
The error's logged info, expectations and error messages.
Add a line of info to the exception log.
string caption | The caption. |
T value | The value. |
string icon | The icon before the caption. |
Add a line of typed info to the exception log.
string caption | The caption. |
T value | The value. |
string icon | The icon before the caption. |
Add a line of expected info to the exception log.
string caption | The caption. |
T value | The value. |
string icon | The icon before the caption. |
Add a line of typed expected info to the exception log.
string caption | The caption. |
T value | The value. |
string icon | The icon before the caption. |
Add a line of error info to the exception log.
string caption | The caption. |
T value | The value. |
string icon | The icon before the caption. |
Add a line of typed error info to the exception log.
string caption | The caption. |
T value | The value. |
string icon | The icon before the caption. |