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

Method Error

base/util.go:447–449  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

445}
446
447func (r *RetryTimeoutError) Error() string {
448 return fmt.Sprintf("RetryLoop for %v giving up after %v attempts", r.description, r.attempts)
449}
450
451func RetryLoop[T any](ctx context.Context, description string, worker RetryWorker[T], sleeper RetrySleeper) (error, T) {
452

Callers 1

TestErrorAsHTTPStatusFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestErrorAsHTTPStatusFunction · 0.76