@Override
    public void maybeSetThrottleTimeMs(int throttleTimeMs) {
        data.setThrottleTimeMs(throttleTimeMs);
    }
Possible error codes:

  - {@link Errors#NOT_COORDINATOR}
  - {@link Errors#COORDINATOR_NOT_AVAILABLE}
  - {@link Errors#COORDINATOR_LOAD_IN_PROGRESS}
  - {@link Errors#INVALID_TXN_STATE}
  - {@link Errors#INVALID_PRODUCER_ID_MAPPING}
  - {@link Errors#INVALID_PRODUCER_EPOCH} // for version <=1
  - {@link Errors#PRODUCER_FENCED}
  - {@link Errors#TRANSACTIONAL_ID_AUTHORIZATION_FAILED}
clients/src/main/java/org/apache/kafka/common/requests/EndTxnResponse.java