code: public static void error(String message) {
      errorMessages.add(message);
      errorStream.println(getFullMessage("error: ", message, CLANG_STYLE_ERROR_MSG));
      errorCount++;
    }
docs: TODO(tball): Consider more ways to associate errors with GenerationUnits to aid debugging.