An exception raised when a test fails during an execution. More...
Public Member Functions | |
TestRunException () noexcept | |
TestRunException (nkMemory::StringView rejectionReason) noexcept | |
TestRunException (nkMemory::StringView rejectionReason, nkMemory::BufferCast< TestStackLevel > rejectionStack) noexcept | |
nkMemory::StringView | getRejectionReason () const |
nkMemory::BufferView< TestStackLevel > | getRejectionStack () const |
An exception raised when a test fails during an execution.
|
noexcept |
Default constructor, without message.
|
noexcept |
Messaged constructor.
rejectionReason | The reason for the test rejection. |
|
noexcept |
Messaged constructor, with a custom stack trace.
rejectionReason | The reason for the test rejection. |
rejectionStack | The stack to attach to the exception. |
nkMemory::StringView nkDebug::TestRunException::getRejectionReason | ( | ) | const |
nkMemory::BufferView<TestStackLevel> nkDebug::TestRunException::getRejectionStack | ( | ) | const |