With DynamicParser::OnError::THROW, reports the first error. It is forbidden to call releaseErrors() if you catch this.
Synopsis
Declared in <folly/json/DynamicParser.h>
struct DynamicParserParseError
: std::runtime_error
Base Classes
Name |
Description |
|
Member Functions
Name |
Description |
|
Constructs the error from a structured error description. |
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}}} |
|
|
Created with MrDocs