'NSErrorDomain Name for data request made through NSURLSession
I was going through the documentation of dataTaskWithRequest:completionHandler: method of NSURLSession.
The completion handler has the third param as NSError. But I could not find the domain name for these errors. Is it expected to be NSURLErrorDomain if the error is related to the network request? Is there any exhaustive list of error domain names that one can encounter for the above method?
Thanks!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
