rcpputils
master
C++ API providing common utilities and data structures.
|
An assertion-like exception for halting tests if conditions are not met. More...
#include <asserts.hpp>
Public Member Functions | |
AssertionException (const char *msg) | |
Constructor for AssertionException. More... | |
virtual const char * | what () const noexcept |
Get the message description of why this exception was thrown. More... | |
Public Member Functions inherited from std::exception | |
T | what (T... args) |
T | ~exception (T... args) |
T | operator= (T... args) |
T | exception (T... args) |
An assertion-like exception for halting tests if conditions are not met.
|
explicit |
Constructor for AssertionException.
msg | The message to display when this exception is thrown. |
|
virtualnoexcept |
Get the message description of why this exception was thrown.