static <C, T extends Throwable> @NonNull ExceptionHandler<C, T> passThroughHandler(
            final @NonNull Consumer<ExceptionContext<C, T>> consumer
    ) {
        return ctx -> {
            consumer.accept(ctx);
            throw ctx.exception();
        };
    }
Returns an exception handler that re-throws the {@link ExceptionContext#exception()} after
invoking the given {@code consumer}.

@param <C>      the command sender type
@param <T>      the exception type
@param consumer the consumer
@return the exception handler
cloud-core/src/main/java/org/incendo/cloud/exception/handling/ExceptionHandler.java