sisi4s
Loading...
Searching...
No Matches
CLI::ExtrasError Class Reference

Thrown when too many positionals or options are found. More...

#include <CLI11.hpp>

Inheritance diagram for CLI::ExtrasError:
Collaboration diagram for CLI::ExtrasError:

Public Member Functions

 ExtrasError (std::string msg, ExitCodes exit_code)
 
 ExtrasError (std::string msg, int exit_code)
 
 ExtrasError (std::vector< std::string > args)
 
 ExtrasError (const std::string &name, std::vector< std::string > args)
 
- Public Member Functions inherited from CLI::ParseError
 ParseError (std::string msg, ExitCodes exit_code)
 
 ParseError (std::string msg, int exit_code)
 
- Public Member Functions inherited from CLI::Error
int get_exit_code () const
 
std::string get_name () const
 
 Error (std::string name, std::string msg, int exit_code=static_cast< int >(ExitCodes::BaseClass))
 
 Error (std::string name, std::string msg, ExitCodes exit_code)
 

Protected Member Functions

 ExtrasError (std::string ename, std::string msg, int exit_code)
 
 ExtrasError (std::string ename, std::string msg, ExitCodes exit_code)
 
- Protected Member Functions inherited from CLI::ParseError
 ParseError (std::string ename, std::string msg, int exit_code)
 
 ParseError (std::string ename, std::string msg, ExitCodes exit_code)
 

Detailed Description

Thrown when too many positionals or options are found.

Constructor & Destructor Documentation

◆ ExtrasError() [1/6]

CLI::ExtrasError::ExtrasError ( std::string  ename,
std::string  msg,
int  exit_code 
)
inlineprotected

◆ ExtrasError() [2/6]

CLI::ExtrasError::ExtrasError ( std::string  ename,
std::string  msg,
ExitCodes  exit_code 
)
inlineprotected

◆ ExtrasError() [3/6]

CLI::ExtrasError::ExtrasError ( std::string  msg,
ExitCodes  exit_code 
)
inline

◆ ExtrasError() [4/6]

CLI::ExtrasError::ExtrasError ( std::string  msg,
int  exit_code 
)
inline

◆ ExtrasError() [5/6]

CLI::ExtrasError::ExtrasError ( std::vector< std::string >  args)
inlineexplicit

◆ ExtrasError() [6/6]

CLI::ExtrasError::ExtrasError ( const std::string &  name,
std::vector< std::string >  args 
)
inline

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