docs: @Override
    public RetryDecision onErrorResponse(
        @NonNull Request request, @NonNull CoordinatorException error, int retryCount) {
  
      RetryDecision decision =
          (error instanceof ReadFailureException || error instanceof WriteFailureException)
              ? RetryDecision.RETHROW
              : RetryDecision.RETRY_NEXT;
  
      if (decision == RetryDecision.RETRY_NEXT && LOG.isTraceEnabled()) {
        LOG.trace(RETRYING_ON_ERROR, logPrefix, retryCount, error);
      }
  
      return decision;
    }