@Override
    public void fail(Throwable error) {
        this.error = error;
        succeeded = false;
        fireHandler();
    }
@author Marc Savy {@literal <msavy@redhat.com>}
@param <T> the contained type
gateway/engine/core/src/main/java/io/apiman/gateway/engine/async/AsyncFutureImpl.java