ArgParserException

Declared in lemon/arg_parser.h, in the group Miscellaneous Tools; the same class on the Doxygen site.

class ArgParserException : public Exception

Exception used by ArgParser.

Public Types

enum Reason

Reasons for failure.

Values:

enumerator HELP

–help option was given.

enumerator UNKNOWN_OPT

Unknown option was given.

enumerator INVALID_OPT

Invalid combination of options.

Public Functions

inline ArgParserException( Reason r ) noexcept

Constructor.

inline virtual const char * what() const noexcept

A short description of the exception.

inline Reason reason() const

Return the reason for the failure.