AFIError

public enum AFIError: Error

AFIError is the error type returned by AlamofireImage.

  • requestCancelled: The request was explicitly cancelled.
  • imageSerializationFailed: Response data could not be serialized into an image.
  • Returns true if the AFIError is a request cancellation error, false otherwise.

    Declaration

    Swift

    public var isRequestCancelledError: Bool
  • Returns true if the AFIError is an image serialization error, false otherwise.

    Declaration

    Swift

    public var isImageSerializationFailedError: Bool