docs: @SuppressWarnings("unchecked")
      static <T, U> BiFunction<? super T, Throwable, ? extends U> returnOrThrow(Supplier<? super U> supplier) {
          return (unused, cause) -> {
              throwUnsafelyIfNonNull(cause);
              return (U) supplier.get();
          };
      }