code: public static String printParseErrors(List<ParseError> errors) {
          checkArgNotNull(errors, "errors");
          StringBuilder sb = new StringBuilder();
          for (ParseError error : errors) {
              if (sb.length() > 0) sb.append("---\n");
              sb.append(printParseError(error));
          }
          return sb.toString();
      }
docs: Pretty prints the given parse errors showing their location in the given input buffer.
  
  @param errors      the parse errors
  @return the pretty print text