(provider string, statusCode int, status string, body []byte)
| 128 | } |
| 129 | |
| 130 | func NewRetryableError(message string) error { |
| 131 | return RetryableError{Message: message} |
| 132 | } |
| 133 | |
| 134 | func retryableTransportError(ctx context.Context, err error) error { |
| 135 | if err == nil { |
| 136 | return nil |
| 137 | } |
| 138 | if ctxErr := ctx.Err(); ctxErr != nil { |
| 139 | return ctxErr |
| 140 | } |
no outgoing calls
no test coverage detected