| ChainCLI
    A modern C++20 command-line interface library | 
Exception thrown when parsing for an argument fails. More...
#include <parse_exception.h>
 
 | Public Member Functions | |
| ParseException (const std::string &message, const std::string &input, const cli::commands::ArgumentBase &argument) | |
| Construct a ParseException with a message, input string, and argument. | |
| ParseException (const std::string &input, const cli::commands::ArgumentBase &argument) | |
| Construct a ParseException with default message, input string, and argument. | |
| const std::string & | getInput () const noexcept | 
| Gets the input string that failed to parse. | |
| const cli::commands::ArgumentBase & | getArgument () const noexcept | 
| Gets the argument that failed to parse. | |
Exception thrown when parsing for an argument fails.
| 
 | inline | 
Construct a ParseException with a message, input string, and argument.
| message | The error message | 
| input | The input string that failed to parse | 
| argument | The argument that failed to parse | 
| 
 | inline | 
Construct a ParseException with default message, input string, and argument.
| input | The input string that failed to parse | 
| argument | The argument that failed to parse | 
| 
 | inlinenoexcept | 
Gets the argument that failed to parse.
| 
 | inlinenoexcept | 
Gets the input string that failed to parse.