CPP-AP 2.2.6
Command-line argument parser for C++20
Loading...
Searching...
No Matches
ap::invalid_configuration Struct Reference

Exception type used for invalid configuration of an argument parser or its arguments. More...

#include <exceptions.hpp>

Inheritance diagram for ap::invalid_configuration:
ap::argument_parser_exception

Public Member Functions

 invalid_configuration (const std::string &message)
 
- Public Member Functions inherited from ap::argument_parser_exception
 argument_parser_exception (const std::string &message)
 

Static Public Member Functions

static invalid_configuration invalid_argument_name (const std::string_view arg_name, const std::string_view reason) noexcept
 
static invalid_configuration argument_name_used (const detail::argument_name &arg_name) noexcept
 

Detailed Description

Exception type used for invalid configuration of an argument parser or its arguments.

Definition at line 23 of file exceptions.hpp.

Constructor & Destructor Documentation

◆ invalid_configuration()

ap::invalid_configuration::invalid_configuration ( const std::string &  message)
inlineexplicit

Definition at line 24 of file exceptions.hpp.

Member Function Documentation

◆ argument_name_used()

static invalid_configuration ap::invalid_configuration::argument_name_used ( const detail::argument_name arg_name)
inlinestaticnoexcept

Definition at line 35 of file exceptions.hpp.

◆ invalid_argument_name()

static invalid_configuration ap::invalid_configuration::invalid_argument_name ( const std::string_view  arg_name,
const std::string_view  reason 
)
inlinestaticnoexcept

Definition at line 27 of file exceptions.hpp.


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