protected void error(int lineNumber, String message) {
		StringBuilder builder = new StringBuilder();
		builder.append("Error parsing theme file \"" + source + "\"");

		if (lineNumber >= 0) {
			builder.append(" at line: " + lineNumber);
		}
		builder.append(". ");
		builder.append(message);
		String msg = builder.toString();
		errors.add(msg);
		outputError(msg);
	}
Returns a list of errors found while parsing
@return a list of errors found while parsing
Ghidra/Framework/Gui/src/main/java/generic/theme/AbstractThemeReader.java