()
| 22 | } |
| 23 | |
| 24 | func (e *WorkerCapacityExhaustedError) Error() string { |
| 25 | return capacityMissPolicyForReason(e.missReason()).errorString(e.RetryAfter) |
| 26 | } |
| 27 | |
| 28 | func (e *WorkerCapacityExhaustedError) missReason() configstore.WorkerClaimMissReason { |
| 29 | if e.Reason == configstore.WorkerClaimMissReasonNone { |
nothing calls this directly
no test coverage detected