exception indicating executing a member function with a wrong type More...
Inheritance diagram for nlohmann::detail::type_error:
Collaboration diagram for nlohmann::detail::type_error:Static Public Member Functions | |
| template<typename BasicJsonType > | |
| static type_error | create (int id_, const std::string &what_arg, const BasicJsonType &context) |
Additional Inherited Members | |
Public Member Functions inherited from nlohmann::detail::exception | |
| const char * | what () const noexcept override |
| returns the explanatory string | |
Public Attributes inherited from nlohmann::detail::exception | |
| const int | id |
| the id of the exception | |
Protected Member Functions inherited from nlohmann::detail::exception | |
| __attribute__ ((__nonnull__(3))) exception(int id_ | |
| const char | m (what_arg) |
Static Protected Member Functions inherited from nlohmann::detail::exception | |
| template<typename BasicJsonType > | |
| static std::string | diagnostics (const BasicJsonType &leaf_element) |
| static std::string | name (const std::string &ename, int id_) |
Protected Attributes inherited from nlohmann::detail::exception | |
| const char * | what_arg: id(id_) |
exception indicating executing a member function with a wrong type