KingfisherError
public enum KingfisherError: Int
The code of errors which ImageDownloader might encountered.
-
badData: The downloaded data is not an image or the data is corrupted.
Declaration
Swift
case badData = 10000
-
notModified: The remote server responsed a 304 code. No image data downloaded.
Declaration
Swift
case notModified = 10001
-
The HTTP status code in response is not valid. If an invalid code error received, you could check the value under
KingfisherErrorStatusCodeKeyinuserInfoto see the code.Declaration
Swift
case invalidStatusCode = 10002
-
notCached: The image rquested is not in cache but .onlyFromCache is activated.
Declaration
Swift
case notCached = 10003
-
The URL is invalid.
Declaration
Swift
case invalidURL = 20000
-
The downloading task is cancelled before started.
Declaration
Swift
case downloadCancelledBeforeStarting = 30000
View on GitHub
Install in Dash
KingfisherError Enumeration Reference