![]() |
ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
exception indicating other library errors More...
#include <acts/blob/master/thirdparty/nlohmann_json/single_include/nlohmann/json.hpp>
Inheritance diagram for nlohmann::detail::other_error:
Collaboration diagram for nlohmann::detail::other_error:Static Public Member Functions | |
| static other_error | create (int id_, const std::string &what_arg) |
Private Member Functions | |
| other_error (int id_, const char *what_arg) | |
Additional Inherited Members | |
Public Member Functions inherited from nlohmann::detail::exception | |
| JSON_HEDLEY_RETURNS_NON_NULL const char * | what () const noexceptoverride |
| 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 | |
| exception (int id_, const char *what_arg) | |
Static Protected Member Functions inherited from nlohmann::detail::exception | |
| static std::string | name (const std::string &ename, int id_) |
exception indicating other library errors
This exception is thrown in case of errors that cannot be classified with the other exception types.
Exceptions have ids 5xx.
| name / id | example message | description |
|---|---|---|
| json.exception.other_error.501 | unsuccessful: {"op":"test","path":"/baz", "value":"bar"} | A JSON Patch operation 'test' failed. The unsuccessful operation is also printed. |
{The following code shows how an other_error exception can be caught.,other_error}
Definition at line 2160 of file json.hpp.
View newest version in sPHENIX GitHub at line 2160 of file json.hpp
|
inlineprivate |
|
inlinestatic |
Definition at line 2163 of file json.hpp.
View newest version in sPHENIX GitHub at line 2163 of file json.hpp
References nlohmann::detail::exception::name(), other_error(), and w.
Here is the call graph for this function: