func (rs *RequestState) HasRetries(err error) bool {
	if rs == nil {
		return false
	}
	rOpts := rs.retryOpts
	return rs.Attempt < rOpts.MaxAttempts && rOpts.RetryOn.CanRetry(err)
}
func (rs *RequestState) HasRetries(err error) bool {
	if rs == nil {
		return false
	}
	rOpts := rs.retryOpts
	return rs.Attempt < rOpts.MaxAttempts && rOpts.RetryOn.CanRetry(err)
}
func ( rs * RequestState ) HasRetries ( err error ) bool { if rs == nil { return false } rOpts := rs . retryOpts return rs . Attempt < rOpts . MaxAttempts && rOpts . RetryOn . CanRetry ( err ) }
// HasRetries will return true if there are more retries left.
HasRetries will return true if there are more retries left .