The header <cppunitx/exception> defines the class for exceptions.
<cppunitx/exception>
AssertionFailedException
This class represents the exceptions thrown when an assertion failed.
Programming interface