DownloadError
public struct DownloadError<T> : Error
Error that is created in case DownloadAPIRequest
errors out, but Alamofire and URL loading system report error as nil.
Practically, this should never happen ¯_(ツ)_/¯ .
-
Reported
DownloadResponse
Declaration
Swift
public let response: DownloadResponse<T>
-
Creates
DownloadError
forDownloadAPIRequest
.Declaration
Swift
public init(_ response: DownloadResponse<T>)
Parameters
response
response created by
Alamofire
.