general exception of the basic_json class
More...
#include <json.hpp>
|
const char * | what () const noexcept override |
| returns the explanatory string
|
|
|
const int | id |
| the id of the 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) |
|
◆ 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
◆ id
const int detail::exception::id |
The documentation for this class was generated from the following file: