code: public List<Throwable> getErrors() {
          final List<Throwable> retval = new ArrayList<Throwable>();
          for (final TestInfo testInfo : contractTestMap.listTestInfo()) {
              retval.addAll( testInfo.getErrors() );
          }
          return retval;
      }
docs: Get the set of errors encountered when discovering contract tests. This
  is a list of all errors for all tests.
  
  @return The list of Throwable objects that represent errors.