code: public List<CompileEvent> getErrors() {
          List<CompileEvent> errors = new ArrayList<CompileEvent>();
          for (CompileEvent event : mIssues) {
              if (event.isError()) { errors.add(event); }
          }
          
          return errors;
      }
docs: Retrieves the set of errors that were reported via the compileError
  method.
  
  @return a List of CompileEvent error objects