general exception of the basic_json class
More...
#include <json.hpp>
|
std::runtime_error | m |
| an exception object as storage for error messages More...
|
|
◆ exception()
nlohmann::detail::exception::exception |
( |
int |
id_, |
|
|
const char * |
what_arg |
|
) |
| |
|
inlineprotected |
◆ diagnostics()
template<typename BasicJsonType >
static std::string nlohmann::detail::exception::diagnostics |
( |
const BasicJsonType & |
leaf_element | ) |
|
|
inlinestaticprotected |
◆ name()
◆ what()
const char* nlohmann::detail::exception::what |
( |
| ) |
const |
|
inlineoverridenoexcept |
returns the explanatory string
Definition at line 2812 of file json.hpp.
◆ id
const int nlohmann::detail::exception::id |
the id of the exception
Definition at line 2818 of file json.hpp.
std::runtime_error nlohmann::detail::exception::m |
|
private |
an exception object as storage for error messages
Definition at line 2895 of file json.hpp.
The documentation for this class was generated from the following file: