MCPcopy
hub / github.com/IBM/sarama / isTimeoutError

Function isTimeoutError

admin.go:287–290  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

285}
286
287func isTimeoutError(err error) bool {
288 var netErr net.Error
289 return errors.As(err, &netErr) && netErr.Timeout()
290}
291
292// retryOnError will repeatedly call the given (error-returning) func in the
293// case that its response is non-nil and retryable (as determined by the

Callers 3

isRetriableBrokerErrorFunction · 0.85
ListTopicsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected