![]() |
Eclipse SUMO - Simulation of Urban MObility
|
exception indicating executing a member function with a wrong type More...
#include <json.hpp>
Public Member Functions | |
| const char * | what () const noexcept override |
| returns the explanatory string | |
Static Public Member Functions | |
| template<typename BasicJsonType> | |
| static type_error | create (int id_, const std::string &what_arg, const BasicJsonType &context) |
Data Fields | |
| const int | id |
| the id of the exception | |
Static Protected Member Functions | |
| template<typename BasicJsonType> | |
| static std::string | diagnostics (const BasicJsonType &leaf_element) |
| static std::string | name (const std::string &ename, int id_) |
Private Member Functions | |
| type_error (int id_, const char *what_arg) | |
Private Attributes | |
| std::runtime_error | m |
| an exception object as storage for error messages | |
exception indicating executing a member function with a wrong type
|
inlineprivate |
Definition at line 2983 of file json.hpp.
References nlohmann::detail::exception::exception(), and type_error().
Referenced by create(), and type_error().
|
inlinestatic |
Definition at line 2975 of file json.hpp.
References nlohmann::BasicJsonType(), nlohmann::detail::exception::diagnostics(), nlohmann::detail::exception::name(), and type_error().
Referenced by nlohmann::detail::serializer< BasicJsonType >::for(), nlohmann::detail::from_json(), nlohmann::detail::from_json(), nlohmann::detail::from_json(), nlohmann::detail::from_json(), nlohmann::detail::from_json(), nlohmann::detail::from_json(), nlohmann::detail::from_json(), nlohmann::detail::from_json(), nlohmann::detail::from_json(), nlohmann::detail::from_json(), nlohmann::detail::from_json(), nlohmann::get_and_create(), nlohmann::detail::get_arithmetic_value(), nlohmann::unflatten(), and nlohmann::detail::binary_writer< basic_json, CharType >::write_bson().
|
inlinestaticprotectedinherited |
Definition at line 2830 of file json.hpp.
References nlohmann::a, nlohmann::detail::array, nlohmann::b, nlohmann::BasicJsonType(), nlohmann::detail::binary, nlohmann::detail::boolean, nlohmann::detail::discarded, 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().
|
inlinestaticprotectedinherited |
Definition at line 2824 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().
|
inlineoverridenoexceptinherited |
|
inherited |
|
privateinherited |
an exception object as storage for error messages
Definition at line 2895 of file json.hpp.
Referenced by exception(), and what().