general exception of the basic_json class
More...
#include <nlohmann_json.hpp>
Inherits std::exception.
Inherited by detail::invalid_iterator, detail::other_error, detail::out_of_range, detail::parse_error, and detail::type_error.
|
const char * | what () const noexcept override |
| returns the explanatory string More...
|
|
|
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) |
|
|
std::runtime_error | m |
| an exception object as storage for error messages More...
|
|
◆ exception()
detail::exception::exception |
( |
int |
id_, |
|
|
const char * |
what_arg |
|
) |
| |
|
inlineprotected |
◆ what()
const char * detail::exception::what |
( |
| ) |
const |
|
inlineoverridenoexcept |
◆ name()
static std::string detail::exception::name |
( |
const std::string & |
ename, |
|
|
int |
id_ |
|
) |
| |
|
inlinestaticprotected |
◆ diagnostics() [1/2]
static std::string detail::exception::diagnostics |
( |
std::nullptr_t |
| ) |
|
|
inlinestaticprotected |
◆ diagnostics() [2/2]
template<typename BasicJsonType >
static std::string detail::exception::diagnostics |
( |
const BasicJsonType * |
leaf_element | ) |
|
|
inlinestaticprotected |
◆ id
const int detail::exception::id |
std::runtime_error detail::exception::m |
|
private |
The documentation for this class was generated from the following file: