Exception thrown when a required option is missing.
Inherits gears::optparse::error.
|
std::string | program_name |
|
std::string | option_name |
|
std::string | error_string |
|
Definition at line 81 of file error.hpp.
gears::optparse::missing_required_option::missing_required_option |
( |
const std::string & |
name, |
|
|
const std::string & |
op |
|
) |
| |
|
inline |
Constructs an exception with the string "{name}: error: missing required option '{op}'"
.
- Parameters
-
name | The name of the program. |
op | The option passed. |
Definition at line 91 of file error.hpp.