exception indicating other library errors
More...
#include <json.hpp>
|
template<typename BasicJsonType > |
static other_error | create (int id_, const std::string &what_arg, const BasicJsonType &context) |
|
|
const char * | what () const noexcept override |
| returns the explanatory string More...
|
|
const int | id |
| the id of the exception More...
|
|
| exception (int id_, const char *what_arg) |
|
template<typename BasicJsonType > |
static std::string | diagnostics (const BasicJsonType &leaf_element) |
|
static std::string | name (const std::string &ename, int id_) |
|
exception indicating other library errors
- See also
- https://json.nlohmann.me/api/basic_json/other_error/
Definition at line 3005 of file json.hpp.
◆ other_error()
nlohmann::detail::other_error::other_error |
( |
int |
id_, |
|
|
const char * |
what_arg |
|
) |
| |
|
inlineprivate |
◆ create()
template<typename BasicJsonType >
static other_error nlohmann::detail::other_error::create |
( |
int |
id_, |
|
|
const std::string & |
what_arg, |
|
|
const BasicJsonType & |
context |
|
) |
| |
|
inlinestatic |
The documentation for this class was generated from the following file: