code: public List<String> toList() {
  
          List<String> errorStrings = new ArrayList<String>();
          ErrorIterator errIterator = iterator();
          while (errIterator.hasNext()) {
              ValidationError err = errIterator.next();
              errorStrings.add(err.getMessage());
          }
          return errorStrings;
      }
docs: Returns a list of errors as strings.
  
  @return a list of error strings.