static <T, R> Handler<AsyncResult<T>> translateFailureHandler(IAsyncResultHandler<R> apimanResult) {
        return result -> {
            if (!result.succeeded()) {
                apimanResult.handle(AsyncResultImpl.create(result.cause()));
            }
        };
    }
@author Marc Savy {@literal <msavy@redhat.com>}
gateway/platforms/vertx3/vertx3/src/main/java/io/apiman/gateway/platforms/vertx3/helpers/HandlerHelpers.java