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 theAFIError
is a request cancellation error,false
otherwise.Declaration
Swift
public var isRequestCancelledError: Bool
-
Returns
true
if theAFIError
is an image serialization error,false
otherwise.Declaration
Swift
public var isImageSerializationFailedError: Bool
-
Declaration
Swift
public var errorDescription: String?