MCPcopy Create free account
hub / github.com/PostHog/duckgres / Error

Method Error

controlplane/worker_pool.go:24–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22}
23
24func (e *WorkerCapacityExhaustedError) Error() string {
25 return capacityMissPolicyForReason(e.missReason()).errorString(e.RetryAfter)
26}
27
28func (e *WorkerCapacityExhaustedError) missReason() configstore.WorkerClaimMissReason {
29 if e.Reason == configstore.WorkerClaimMissReasonNone {

Callers

nothing calls this directly

Calls 3

missReasonMethod · 0.95
errorStringMethod · 0.80

Tested by

no test coverage detected