default boolean isFailure() {
    return exception() != null;
  }
Returns the result if success, or throws an exception if failure.

@throws IllegalStateException wrapping the exception on failure
planetiler-core/src/main/java/com/onthegomap/planetiler/util/Try.java