Exception class raised when an argument constraint is not satisfied. More...
#include <Exceptions.hpp>
Public Member Functions | |
constraint_error (const std::string &reason, const std::vector< const BaseArgument * > &args) | |
Creates the exception with a reason for a constraint failure, and the list of arguments involved. More... | |
![]() | |
exception (std::string what) | |
Creates the exception with the given message. More... | |
exception () | |
Creates the exception with no message. | |
const char * | what () const noexceptoverride |
See std::exception::what(). | |
Additional Inherited Members | |
![]() | |
std::string | m_what |
Description of the exception. More... | |
Exception class raised when an argument constraint is not satisfied.
TAP::constraint_error::constraint_error | ( | const std::string & | reason, |
const std::vector< const BaseArgument * > & | args | ||
) |
Creates the exception with a reason for a constraint failure, and the list of arguments involved.
reason | Reason of failure |
args | List of arguments that caused the failure |