@Override
    public Map<Errors, Integer> errorCounts() {
        Map<Errors, Integer> errorCounts = new HashMap<>();
        updateErrorCounts(errorCounts, Errors.forCode(data.errorCode()));
        for (UpdatableFeatureResult result : data.results()) {
            updateErrorCounts(errorCounts, Errors.forCode(result.errorCode()));
        }
        return errorCounts;
    }
Possible error codes:

  - {@link Errors#CLUSTER_AUTHORIZATION_FAILED}
  - {@link Errors#NOT_CONTROLLER}
  - {@link Errors#INVALID_REQUEST}
  - {@link Errors#FEATURE_UPDATE_FAILED}
clients/src/main/java/org/apache/kafka/common/requests/UpdateFeaturesResponse.java