Need clarification between URLError. dataNotAllowed and URLError.notConnectedToInternet

126 Views Asked by At

I tried to handle URLSession dataTask error. When dataTask is started without internet connection , i'm getting URLError.dataNotAllowed error. When will I get URLError.notConnectedToInternet ?

0

There are 0 best solutions below