MCPcopy Create free account
hub / github.com/Illumina/paragraph / addError

Method addError

external/jsoncpp/jsoncpp.cpp:966–974  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

964}
965
966bool
967Reader::addError(const JSONCPP_STRING& message, Token& token, Location extra) {
968 ErrorInfo info;
969 info.token_ = token;
970 info.message_ = message;
971 info.extra_ = extra;
972 errors_.push_back(info);
973 return false;
974}
975
976bool Reader::recoverFromError(TokenType skipUntilToken) {
977 size_t const errorCount = errors_.size();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected