Option++  2.0
C++ library for reading command-line options
Public Member Functions | List of all members
optionpp::out_of_range Class Reference

Exception indicating out of range access. More...

#include <error.hpp>

Inheritance diagram for optionpp::out_of_range:
Inheritance graph
[legend]
Collaboration diagram for optionpp::out_of_range:
Collaboration graph
[legend]

Public Member Functions

 out_of_range (const std::string &msg, const std::string &fn_name)
 Constructor. More...
 
- Public Member Functions inherited from optionpp::error
 error (const std::string &msg, const std::string &fn_name)
 Constructor. More...
 
const std::string & function () const
 Return the name of function that threw the exception. More...
 

Detailed Description

Exception indicating out of range access.

Constructor & Destructor Documentation

◆ out_of_range()

optionpp::out_of_range::out_of_range ( const std::string &  msg,
const std::string &  fn_name 
)
inline

Constructor.

Parameters
msgDescription of the error.
fn_nameName of the function in which error occurred.

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