MCPcopy Create free account
hub / github.com/Illumina/hap.py / addError

Method addError

external/jsoncpp/jsoncpp.cpp:904–912  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

902}
903
904bool
905Reader::addError(const std::string &message, Token &token, Location extra) {
906 ErrorInfo info;
907 info.token_ = token;
908 info.message_ = message;
909 info.extra_ = extra;
910 errors_.push_back(info);
911 return false;
912}
913
914bool Reader::recoverFromError(TokenType skipUntilToken) {
915 int errorCount = int(errors_.size());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected