Advertisement
rehannali

Network URL apple guide (error code)

Jun 14th, 2018
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. All error codes are on "CFNetwork Errors Codes References" on the documentation link below
  2.  
  3. https://developer.apple.com/documentation/cfnetwork/cfnetworkerrors
  4.  
  5. Error Listing
  6.  
  7. kCFURLErrorUnknown = -998,
  8. kCFURLErrorCancelled = -999,
  9. kCFURLErrorBadURL = -1000,
  10. kCFURLErrorTimedOut = -1001,
  11. kCFURLErrorUnsupportedURL = -1002,
  12. kCFURLErrorCannotFindHost = -1003,
  13. kCFURLErrorCannotConnectToHost = -1004,
  14. kCFURLErrorNetworkConnectionLost = -1005,
  15. kCFURLErrorDNSLookupFailed = -1006,
  16. kCFURLErrorHTTPTooManyRedirects = -1007,
  17. kCFURLErrorResourceUnavailable = -1008,
  18. kCFURLErrorNotConnectedToInternet = -1009,
  19. kCFURLErrorRedirectToNonExistentLocation = -1010,
  20. kCFURLErrorBadServerResponse = -1011,
  21. kCFURLErrorUserCancelledAuthentication = -1012,
  22. kCFURLErrorUserAuthenticationRequired = -1013,
  23. kCFURLErrorZeroByteResource = -1014,
  24. kCFURLErrorCannotDecodeRawData = -1015,
  25. kCFURLErrorCannotDecodeContentData = -1016,
  26. kCFURLErrorCannotParseResponse = -1017,
  27. kCFURLErrorInternationalRoamingOff = -1018,
  28. kCFURLErrorCallIsActive = -1019,
  29. kCFURLErrorDataNotAllowed = -1020,
  30. kCFURLErrorRequestBodyStreamExhausted = -1021,
  31. kCFURLErrorFileDoesNotExist = -1100,
  32. kCFURLErrorFileIsDirectory = -1101,
  33. kCFURLErrorNoPermissionsToReadFile = -1102,
  34. kCFURLErrorDataLengthExceedsMaximum = -1103,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement