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 More... | |
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 More... | |
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 More... | |
exception indicating executing a member function with a wrong type
|
inlineprivate |
|
inlinestatic |
Definition at line 2975 of file json.hpp.
References nlohmann::detail::exception::diagnostics(), and nlohmann::detail::exception::name().
Referenced by nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::at(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::basic_json(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::emplace(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::emplace_back(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::erase(), nlohmann::detail::serializer< BasicJsonType >::for(), nlohmann::detail::from_json(), nlohmann::json_pointer< BasicJsonType >::get_and_create(), nlohmann::detail::get_arithmetic_value(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::get_binary(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::get_impl(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::get_ref_impl(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::insert(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::operator[](), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::push_back(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::swap(), nlohmann::json_pointer< BasicJsonType >::unflatten(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::update(), and nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::value().
|
inlinestaticprotectedinherited |
Definition at line 2830 of file json.hpp.
References nlohmann::detail::array, 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, nlohmann::detail::string, and nlohmann::to_string().
Referenced by nlohmann::detail::parse_error::create(), nlohmann::detail::invalid_iterator::create(), create(), nlohmann::detail::out_of_range::create(), and nlohmann::detail::other_error::create().
|
inlinestaticprotectedinherited |
Definition at line 2824 of file json.hpp.
References nlohmann::to_string().
Referenced by nlohmann::detail::parse_error::create(), nlohmann::detail::invalid_iterator::create(), create(), nlohmann::detail::out_of_range::create(), and nlohmann::detail::other_error::create().
|
inlineoverridenoexceptinherited |
returns the explanatory string
Definition at line 2812 of file json.hpp.
References nlohmann::detail::exception::m.
|
inherited |
|
privateinherited |
an exception object as storage for error messages
Definition at line 2895 of file json.hpp.
Referenced by nlohmann::detail::exception::what().