MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / NewRetryTimeoutError

Function NewRetryTimeoutError

base/util.go:440–445  ·  view source on GitHub ↗
(description string, attempts int)

Source from the content-addressed store, hash-verified

438}
439
440func NewRetryTimeoutError(description string, attempts int) *RetryTimeoutError {
441 return &RetryTimeoutError{
442 description: description,
443 attempts: attempts,
444 }
445}
446
447func (r *RetryTimeoutError) Error() string {
448 return fmt.Sprintf("RetryLoop for %v giving up after %v attempts", r.description, r.attempts)

Callers 2

RetryLoopFunction · 0.85
RetryLoopCasFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected