- addError
void addError(string caption, T value, string icon = "✗")
Add a line of error info to the exception log.
- addExpectation
void addExpectation(string caption, T value, string icon = "✓")
Add a line of expected info to the exception log.
- addInfo
void addInfo(string caption, T value, string icon = "ℹ")
Add a line of info to the exception log.
- addTypedError
void addTypedError(string caption, T value, string icon = "✗")
Add a line of typed error info to the exception log.
- addTypedExpectation
void addTypedExpectation(string caption, T value, string icon = "✓")
Add a line of typed expected info to the exception log.
- addTypedInfo
void addTypedInfo(string caption, T value, string icon = "ℹ")
Add a line of typed info to the exception log.
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.