exception indicating executing a member function with a wrong type
More...
#include <json.hpp>
|
const char * | what () const noexcept override |
| returns the explanatory string
|
|
const int | id |
| the id of the exception
|
|
| exception (int id_, const char *what_arg) |
|
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) |
|
exception indicating executing a member function with a wrong type
- See also
- https://json.nlohmann.me/api/basic_json/type_error/
◆ type_error()
detail::type_error::type_error |
( |
int | id_, |
|
|
const char * | what_arg ) |
|
inlineprivate |
◆ create()
static type_error detail::type_error::create |
( |
int | id_, |
|
|
const std::string & | what_arg, |
|
|
BasicJsonContext | context ) |
|
inlinestatic |
The documentation for this class was generated from the following file: