Static Public Member Functions | Private Member Functions | List of all members
nlohmann::detail::out_of_range Class Reference

exception indicating access out of the defined range More...

#include <json.hpp>

Inheritance diagram for nlohmann::detail::out_of_range:
Inheritance graph
[legend]

Static Public Member Functions

template<typename BasicJsonType >
static out_of_range create (int id_, const std::string &what_arg, const BasicJsonType &context)
 

Private Member Functions

 out_of_range (int id_, const char *what_arg)
 

Additional Inherited Members

- Public Member Functions inherited from nlohmann::detail::exception
const char * what () const noexcept override
 returns the explanatory string More...
 
- Public Attributes inherited from nlohmann::detail::exception
const int id
 the id of the exception More...
 
- Protected Member Functions inherited from nlohmann::detail::exception
 exception (int id_, const char *what_arg)
 
- Static Protected Member Functions inherited from nlohmann::detail::exception
template<typename BasicJsonType >
static std::string diagnostics (const BasicJsonType &leaf_element)
 
static std::string name (const std::string &ename, int id_)
 

Detailed Description

exception indicating access out of the defined range

See also
https://json.nlohmann.me/api/basic_json/out_of_range/

Definition at line 2988 of file json.hpp.

Constructor & Destructor Documentation

◆ out_of_range()

nlohmann::detail::out_of_range::out_of_range ( int  id_,
const char *  what_arg 
)
inlineprivate

Definition at line 3000 of file json.hpp.

Member Function Documentation

◆ create()

template<typename BasicJsonType >
static out_of_range nlohmann::detail::out_of_range::create ( int  id_,
const std::string &  what_arg,
const BasicJsonType &  context 
)
inlinestatic

Definition at line 2992 of file json.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:52