There are several network errors being logged. Only the description is being logged now. Is there some way of finding out the exact reason for these errors. Eg. I have some logs that state: A data connection is not currently allowed. I am unable to find the code for this and don't understand the reason for the above issue.
Is there a way to find the error code of network errors from their localizedDescriptions?
Is there a way to find the error code of network errors from their localizedDescriptions?
No.
I have some logs that state: A data connection is not currently allowed.
Is that your logging? Or something logged by the system?
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
data connection is not currently allowed. I am unable to find the code for this and don't understand the reason for the above issue.
This error maps to -1020
for kCFURLErrorDataNotAllowed.
This can happen when you have fallen into a situation where data usage is not allowed via cellular. For example, you only have a cellular link and your cellular interface is turned off.