public long numErrors() {
    return checks.stream().filter(check -> check.error.isPresent()).count();
  }
Exits with a nonzero exit code if there were any failures.
planetiler-core/src/main/java/com/onthegomap/planetiler/mbtiles/Verify.java