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