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) |
| |
|
| template<typename BasicJsonType > |
| static std::string | get_byte_positions (const BasicJsonType *leaf_element) |
| |
|
| std::runtime_error | m |
| | an exception object as storage for error messages
|
| |
◆ exception()
◆ diagnostics() [1/2]
template<typename BasicJsonType >
| static std::string diagnostics |
( |
const BasicJsonType * |
leaf_element | ) |
|
|
inlinestaticprotected |
Definition at line 4537 of file json.hpp.
References detail::array, detail::binary, detail::boolean, detail::concat(), detail::discarded, exception::get_byte_positions(), detail::null, detail::number_float, detail::number_integer, detail::number_unsigned, detail::object, and detail::string.
◆ diagnostics() [2/2]
| static std::string diagnostics |
( |
std::nullptr_t |
| ) |
|
|
inlinestaticprotected |
◆ get_byte_positions()
template<typename BasicJsonType >
| static std::string get_byte_positions |
( |
const BasicJsonType * |
leaf_element | ) |
|
|
inlinestaticprivate |
◆ name()
| static std::string name |
( |
const std::string & |
ename, |
|
|
int |
id_ |
|
) |
| |
|
inlinestaticprotected |
◆ what()
| const char * what |
( |
| ) |
const |
|
inlineoverridenoexcept |
◆ id
the id of the exception
Definition at line 4520 of file json.hpp.
The documentation for this class was generated from the following file: