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

Exception type used for element lookup errors. More...

#include <exceptions.hpp>

Inheritance diagram for ap::lookup_failure:
ap::argument_parser_exception

Public Member Functions

 lookup_failure (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 lookup_failure argument_not_found (const std::string_view &arg_name) noexcept
 

Detailed Description

Exception type used for element lookup errors.

Definition at line 121 of file exceptions.hpp.

Constructor & Destructor Documentation

◆ lookup_failure()

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

Definition at line 122 of file exceptions.hpp.

Member Function Documentation

◆ argument_not_found()

static lookup_failure ap::lookup_failure::argument_not_found ( const std::string_view &  arg_name)
inlinestaticnoexcept

Definition at line 124 of file exceptions.hpp.


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