public GeometryException addDetails(Supplier<String> detailsSupplier) {
    this.detailsSuppliers.add(detailsSupplier);
    return this;
  }
Constructs a new exception with a detailed error message.

@param stat     string that uniquely defines this error that will be used to count number of occurrences in stats
@param message  description of the error to log that should be detailed enough that you can find the offending
                geometry from it
@param nonFatal When true, won't cause an assertion error when thrown
planetiler-core/src/main/java/com/onthegomap/planetiler/geo/GeometryException.java