code: public static <T, E extends Throwable> @NonNull Consumer<T> unwrappingRethrowConsumer(final @NonNull ThrowingConsumer<T, E> consumer) {
      return input -> {
        try {
          consumer.throwingAccept(input);
        } catch(final Throwable t) {
          throw rethrow(unwrap(t));
        }
      };
    }
docs: Returns a consumer which will unwrap and rethrow any throwables caught in {@code consumer}.
  
  @param consumer the consumer
  @param <T> the input type
  @param <E> the exception type
  @return a consumer