code: func isConsulErrNeedingRetry(err error) bool {
  	return strings.Contains(err.Error(), httpError) ||
  		strings.Contains(err.Error(), eofError) ||
  		strings.Contains(err.Error(), connRefused) ||
  		strings.Contains(err.Error(), nameResolutionError)
  }
docs: // isConsulErrNeedingRetry is a type of consul error on which we should try reconnecting consul client.