AFIError
public enum AFIError : Error
extension AFIError: LocalizedError
AFIError is the error type returned by AlamofireImage.
- requestCancelled: The request was explicitly cancelled.
- imageSerializationFailed: Response data could not be serialized into an image.
-
Undocumented
Declaration
Swift
case requestCancelled -
Undocumented
Declaration
Swift
case imageSerializationFailed -
Undocumented
Declaration
Swift
case alamofireError(AFError)
-
Returns
trueif theAFIErroris a request cancellation error,falseotherwise.Declaration
Swift
public var isRequestCancelledError: Bool { get } -
Returns
trueif theAFIErroris an image serialization error,falseotherwise.Declaration
Swift
public var isImageSerializationFailedError: Bool { get } -
Undocumented
Declaration
Swift
public var isAlamofireError: Bool { get }
-
Declaration
Swift
public var errorDescription: String? { get }
View on GitHub
Install in Dash
AFIError Enumeration Reference