Lines Matching refs:ErrorMessage
122 std::string &ErrorMessage) override { in loadFromDirectory() argument
126 JSONCompilationDatabase::loadFromFile(JSONDatabasePath, ErrorMessage)); in loadFromDirectory()
146 std::string &ErrorMessage) { in loadFromFile() argument
150 ErrorMessage = "Error while opening JSON database: " + Result.message(); in loadFromFile()
155 if (!Database->parse(ErrorMessage)) in loadFromFile()
162 std::string &ErrorMessage) { in loadFromBuffer() argument
167 if (!Database->parse(ErrorMessage)) in loadFromBuffer()
230 bool JSONCompilationDatabase::parse(std::string &ErrorMessage) { in parse() argument
233 ErrorMessage = "Error while parsing YAML."; in parse()
238 ErrorMessage = "Error while parsing YAML."; in parse()
243 ErrorMessage = "Expected array."; in parse()
251 ErrorMessage = "Expected object."; in parse()
262 ErrorMessage = "Expected value."; in parse()
268 ErrorMessage = "Expected string as value."; in parse()
274 ErrorMessage = "Expected strings as key."; in parse()
285 ErrorMessage = ("Unknown key: \"" + in parse()
291 ErrorMessage = "Missing key: \"file\"."; in parse()
295 ErrorMessage = "Missing key: \"command\"."; in parse()
299 ErrorMessage = "Missing key: \"directory\"."; in parse()