Sharg 1.1.2-rc.1
The argument parser for bio-c++ tools.
Loading...
Searching...
No Matches
sharg::option_declared_multiple_times Class Reference

Parser exception thrown when a non-list option is declared multiple times. More...

#include <sharg/exceptions.hpp>

+ Inheritance diagram for sharg::option_declared_multiple_times:

Public Member Functions

 option_declared_multiple_times (std::string const &s)
 The constructor.
 
- Public Member Functions inherited from sharg::parser_error
 parser_error (std::string const &s)
 The constructor.
 
- Public Member Functions inherited from std::runtime_error
T runtime_error (T... args)
 
T what (T... args)
 

Detailed Description

Parser exception thrown when a non-list option is declared multiple times.

Remarks
For a complete overview, take a look at Parser

This entity is stable. Since version 1.0.

Constructor & Destructor Documentation

◆ option_declared_multiple_times()

sharg::option_declared_multiple_times::option_declared_multiple_times ( std::string const & s)
inline

The constructor.

Parameters
[in]sThe error message.

This entity is stable. Since version 1.0.


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