|
| | option_not_found_t (const std::string &name) |
| | Constructs the error for a failed lookup.
|
| | error_mixin_t (std::string msg, exit_codes_t exit_code) |
| | Constructs the error, naming it from derived_t.
|
| | error_mixin_t (std::string msg, int exit_code) |
| | Constructs the error, naming it from derived_t.
|
| auto | get_exit_code () const -> int |
| | Returns the process exit code associated with this error.
|
| auto | get_name () const -> std::string |
| | Returns the short name of this error type.
|
| | error_t (std::string name, std::string msg, int exit_code=static_cast< int >(exit_codes_t::base_class)) |
| | Constructs an error with an explicit numeric exit code.
|
| | error_t (std::string name, std::string msg, exit_codes_t exit_code) |
| | Constructs an error with an exit code drawn from exit_codes_t.
|
A lookup by name found no matching option.
This derives from error_t rather than parse_error_t: it reports a bad query from the calling code, not a bad command line.