Enumerations

The following enumerations are available globally.

  • Namespace for informational Alamofire values.

    See more

    Declaration

    Swift

    public enum AFInfo
  • 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
  • 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
  • Outcome of determination whether retry is necessary.

    See more

    Declaration

    Swift

    public enum RetryResult : Sendable