|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
general exception of the basic_json class More...
#include <json.hpp>
Public Member Functions | |
| const char * | what () const noexcept override |
| returns the explanatory string | |
Public Attributes | |
| const int | id |
| the id of the exception | |
Protected Member Functions | |
| exception (int id_, const char *what_arg) | |
Static Protected Member Functions | |
| static std::string | name (const std::string &ename, int id_) |
| template<typename BasicJsonType> | |
| static std::string | diagnostics (const BasicJsonType &leaf_element) |
Private Attributes | |
| std::runtime_error | m |
| an exception object as storage for error messages | |
|
inlineprotected |
Definition at line 2857 of file json.hpp.
References exception(), and m.
Referenced by exception(), nlohmann::detail::invalid_iterator::invalid_iterator(), nlohmann::detail::other_error::other_error(), nlohmann::detail::out_of_range::out_of_range(), nlohmann::detail::parse_error::parse_error(), and nlohmann::detail::type_error::type_error().
|
inlinestaticprotected |
Definition at line 2868 of file json.hpp.
References nlohmann::a, nlohmann::detail::array, nlohmann::b, nlohmann::BasicJsonType(), nlohmann::detail::binary, nlohmann::detail::boolean, nlohmann::detail::discarded, i, nlohmann::detail::null, nlohmann::detail::number_float, nlohmann::detail::number_integer, nlohmann::detail::number_unsigned, nlohmann::detail::object, and nlohmann::detail::string.
Referenced by nlohmann::detail::invalid_iterator::create(), nlohmann::detail::other_error::create(), nlohmann::detail::out_of_range::create(), nlohmann::detail::parse_error::create(), nlohmann::detail::parse_error::create(), and nlohmann::detail::type_error::create().
|
inlinestaticprotected |
Definition at line 2862 of file json.hpp.
Referenced by nlohmann::detail::invalid_iterator::create(), nlohmann::detail::other_error::create(), nlohmann::detail::out_of_range::create(), nlohmann::detail::parse_error::create(), nlohmann::detail::parse_error::create(), and nlohmann::detail::type_error::create().
|
inlineoverridenoexcept |
|
private |
Definition at line 2923 of file json.hpp.
Referenced by exception(), and what().