private boolean maybeCompleteExceptionally(Map<TopicPartition, Errors> partitionLevelErrors,
                                               TopicPartition partition,
                                               KafkaFutureImpl<Void> result) {
        Throwable exception = KafkaAdminClient.getSubLevelError(partitionLevelErrors, partition,
            "Offset deletion result for partition \"" + partition + "\" was not included in the response");
        if (exception != null) {
            result.completeExceptionally(exception);
            return true;
        } else {
            return false;
        }
    }
Return a future which succeeds only if all the deletions succeed.
If not, the first partition error shall be returned.
clients/src/main/java/org/apache/kafka/clients/admin/DeleteConsumerGroupOffsetsResult.java