CPP-AP 2.7.0
Command-line argument parser for C++20
|
Exception type used for errors encountered during the argument parsing operation. More...
#include <exceptions.hpp>
Public Member Functions | |
parsing_failure (const std::string &message) | |
![]() | |
argument_parser_exception (const std::string &message) | |
Static Public Member Functions | |
static parsing_failure | unknown_argument (const std::string_view arg_name) noexcept |
static parsing_failure | value_already_set (const detail::argument_name &arg_name) noexcept |
static parsing_failure | invalid_value (const detail::argument_name &arg_name, const std::string &value) noexcept |
static parsing_failure | invalid_choice (const detail::argument_name &arg_name, const std::string &value) noexcept |
static parsing_failure | required_argument_not_parsed (const detail::argument_name &arg_name) noexcept |
static parsing_failure | argument_deduction_failure (const std::vector< std::string > &values) noexcept |
static parsing_failure | invalid_nvalues (const detail::argument_name &arg_name, const std::weak_ordering ordering) noexcept |
Exception type used for errors encountered during the argument parsing operation.
Definition at line 57 of file exceptions.hpp.
|
inlineexplicit |
Definition at line 58 of file exceptions.hpp.
|
inlinestaticnoexcept |
Definition at line 93 of file exceptions.hpp.
|
inlinestaticnoexcept |
Definition at line 78 of file exceptions.hpp.
|
inlinestaticnoexcept |
Definition at line 100 of file exceptions.hpp.
|
inlinestaticnoexcept |
Definition at line 70 of file exceptions.hpp.
|
inlinestaticnoexcept |
Definition at line 86 of file exceptions.hpp.
|
inlinestaticnoexcept |
Definition at line 60 of file exceptions.hpp.
|
inlinestaticnoexcept |
Definition at line 64 of file exceptions.hpp.