clingo
|
Used for signaling validation errors when trying to assign option values. More...
#include <errors.h>
Public Types | |
enum | Type { multiple_occurences, invalid_default, invalid_value } |
Public Member Functions | |
ValueError (const std::string &ctx, Type t, const std::string &opt, const std::string &value) | |
~ValueError () throw () | |
Type | type () const |
const std::string & | key () const |
const std::string & | ctx () const |
const std::string & | value () const |
Public Member Functions inherited from ProgramOptions::Error | |
Error (const std::string &what) | |
Used for signaling validation errors when trying to assign option values.
ProgramOptions::ValueError::ValueError | ( | const std::string & | ctx, |
Type | t, | ||
const std::string & | opt, | ||
const std::string & | value | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |