Arkanjo 0.2
A tool for find code duplicated functions in codebases
Loading...
Searching...
No Matches
OptionMissingError Class Reference

An error is thrown when a required option is not provided. More...

#include <cli_error.hpp>

+ Inheritance diagram for OptionMissingError:
+ Collaboration diagram for OptionMissingError:

Public Member Functions

 OptionMissingError (const std::string &option)
 
- Public Member Functions inherited from CLIError
 CLIError (const std::string &msg)
 

Detailed Description

An error is thrown when a required option is not provided.

eg: if the –config option is required and is not passed by the user.

Definition at line 20 of file cli_error.hpp.

Constructor & Destructor Documentation

◆ OptionMissingError()

OptionMissingError::OptionMissingError ( const std::string & option)
Parameters
optionName of the missing option.

Definition at line 25 of file cli_error.hpp.


The documentation for this class was generated from the following file: