Is reports a match against ErrPermanent so a Permanent error can be detected with errors.Is even before Retry converts it into a RetryError.
(target error)
| 98 | // Is reports a match against ErrPermanent so a Permanent error can be detected |
| 99 | // with errors.Is even before Retry converts it into a RetryError. |
| 100 | func (e *permanent) Is(target error) bool { return target == ErrPermanent } |
| 101 | |
| 102 | // RetryAfterError signals that the operation should be retried after the given |
| 103 | // duration. When an operation returns one (directly or wrapped), Retry waits |
no outgoing calls