exception indicating access out of the defined range
More...
#include <json.hpp>
|
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) |
|
|
const char * | what () const noexcept override |
| returns the explanatory string More...
|
|
const int | id |
| the id of the exception More...
|
|
| exception (int id_, const char *what_arg) |
|
template<typename BasicJsonType > |
static std::string | diagnostics (const BasicJsonType *leaf_element) |
|
static std::string | diagnostics (std::nullptr_t) |
|
static std::string | name (const std::string &ename, int id_) |
|
exception indicating access out of the defined range
- See also
- https://json.nlohmann.me/api/basic_json/out_of_range/
Definition at line 4557 of file json.hpp.
◆ out_of_range()
detail::out_of_range::out_of_range |
( |
int |
id_, |
|
|
const char * |
what_arg |
|
) |
| |
|
inlineprivate |
◆ 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 |
The documentation for this class was generated from the following file: