Back to Alamofire

RetryResult

docs/docsets/Alamofire.docset/Contents/Resources/Documents/Enums/RetryResult.html

5.12.0764 B
Original Source

RetryResult

public enum RetryResult : Sendable

Outcome of determination whether retry is necessary.

`

                retry
                `

Retry should be attempted immediately.

Declaration

Swift

case retry

`

                retryWithDelay(_:)
                `

Retry should be attempted after the associated TimeInterval.

Declaration

Swift

case retryWithDelay(TimeInterval)

`

                doNotRetry
                `

Do not retry.

Declaration

Swift

case doNotRetry

`

                doNotRetryWithError(_:)
                `

Do not retry due to the associated Error.

Declaration

Swift

case doNotRetryWithError(any Error)