Back to Alamofire

Enumerations

docs/Enums.html

5.12.01.3 KB
Original Source

Enumerations

The following enumerations are available globally.

`

                AFInfo
                `

Namespace for informational Alamofire values.

See more

Declaration

Swift

public enum AFInfo

`

                AFError
                `

AFError is the error type returned by Alamofire. It encompasses a few different types of errors, each with their own associated reasons.

See more

Declaration

Swift

public enum AFError : Error, Sendable
extension AFError: LocalizedError

`

                AuthenticationError
                `

Represents various authentication failures that occur when using the AuthenticationInterceptor. All errors are still vended from Alamofire as AFError types. The AuthenticationError instances will be embedded within AFError .requestAdaptationFailed or .requestRetryFailed cases.

See more

Declaration

Swift

public enum AuthenticationError : Error

`

                RetryResult
                `

Outcome of determination whether retry is necessary.

See more

Declaration

Swift

public enum RetryResult : Sendable