With DynamicParser::OnError::THROW, reports the first error. It is forbidden to call releaseErrors() if you catch this.
Declared in <folly/json/DynamicParser.h>
struct DynamicParserParseError
: std::runtime_error
| Name | Description |
|---|---|
std::runtime_error |
| Name | Description |
|---|---|
DynamicParserParseError [constructor] | Constructs the error from a structured error description. |
operator= | |
error | Structured just like releaseErrors(), but with only 1 error inside: {"nested": {"key1": {"nested": {"key2": {"error": "err", "value": 5}}}}} or: {"nested": {"key1": {"key_errors": {"key3": "err"}, "value": 7}}} |
what [virtual] |