![]() |
abLEMON 1.9.0-101-gccb8629
A maintained fork of LEMON
|
Exception used by ArgParser. More...
#include <lemon/arg_parser.h>
Public Types | |
| enum | Reason { HELP , UNKNOWN_OPT , INVALID_OPT } |
| Reasons for failure. More... | |
Public Member Functions | |
| ArgParserException (Reason r) noexcept | |
| Constructor. | |
| virtual const char * | what () const noexcept |
| A short description of the exception. | |
| Reason | reason () const |
| Return the reason for the failure. | |
| Public Member Functions inherited from Exception | |
| Exception () noexcept | |
| Constructor. | |
| virtual | ~Exception ()=default |
| Virtual destructor. | |
| Exception (const Exception &)=default | |
| Copy constructor. | |
| Exception & | operator= (const Exception &)=default |
| Copy assignment. | |