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