SIRIUS 7.5.0
Electronic structure library and applications
Static Public Member Functions | Private Member Functions | List of all members
detail::out_of_range Class Reference

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

#include <nlohmann_json.hpp>

Inherits detail::exception.

Static Public Member Functions

template<typename BasicJsonContext , enable_if_t< is_basic_json_context< BasicJsonContext >::value, int > = 0>
static out_of_range create (int id_, const std::string &what_arg, BasicJsonContext context)
 

Private Member Functions

 out_of_range (int id_, const char *what_arg)
 

Additional Inherited Members

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

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 4490 of file nlohmann_json.hpp.

Constructor & Destructor Documentation

◆ out_of_range()

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

Definition at line 4502 of file nlohmann_json.hpp.

Member Function Documentation

◆ create()

template<typename BasicJsonContext , enable_if_t< is_basic_json_context< BasicJsonContext >::value, int > = 0>
static out_of_range detail::out_of_range::create ( int  id_,
const std::string &  what_arg,
BasicJsonContext  context 
)
inlinestatic

Definition at line 4494 of file nlohmann_json.hpp.


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