folly::DynamicParserParseError

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

NameDescription
std::runtime_error

Member Functions

NameDescription
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]