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... | |
Public Member Functions inherited from TAP::exception | |
| 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 | |
Protected Attributes inherited from TAP::exception | |
| 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 |
1.8.6