You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When cancelling an image download (e.g. loading another image in an UIImageView while the previous request is still running), AlamofireImage executes the completion block with .Failure(error) like so:
Now this looks good but the error domain is set to alamofire (com.alamofire.error) and code -999 is not defined in this error domain but it seems that it is actually coming from NSURLErrorDomain and that would be code NSURLErrorCancelled. Shouldn't the domain really be NSURLErrorDomain rather than com.alamofire.error?
The text was updated successfully, but these errors were encountered:
When cancelling an image download (e.g. loading another image in an UIImageView while the previous request is still running), AlamofireImage executes the completion block with .Failure(error) like so:
Now this looks good but the error domain is set to alamofire (
com.alamofire.error
) and code -999 is not defined in this error domain but it seems that it is actually coming fromNSURLErrorDomain
and that would be codeNSURLErrorCancelled
. Shouldn't the domain really beNSURLErrorDomain
rather thancom.alamofire.error
?The text was updated successfully, but these errors were encountered: