WPILibC++
unspecified
|
exception indicating other errors More...
#include <json.h>
Static Public Member Functions | |
static other_error | create (int id, const std::string &what_arg) |
Additional Inherited Members | |
![]() | |
virtual const char * | what () const noexceptoverride |
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) |
exception indicating other errors
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. |
json.exception.other_error.502 | invalid object size for conversion | Some conversions to user-defined types impose constraints on the object size (e.g. std::pair) |