public void failIfErrors() {
    long errors = numErrors();
    System.out.println(errors + " errors");
    if (errors > 0) {
      System.exit(1);
    }
  }
Exits with a nonzero exit code if there were any failures.
planetiler-core/src/main/java/com/onthegomap/planetiler/mbtiles/Verify.java