UIWebViewDelegate の webView:didFailLoadWithError: で渡される error のerror.code の内容が書かれているドキュメント。
CFNetwork Error Codes Reference
Organizer - Documentationでこの名前で検索する。
内容の一部
enum CFNetworkErrors {
kCFHostErrorHostNotFound = 1,
kCFHostErrorUnknown = 2,
/* SOCKS errors */
kCFSOCKSErrorUnknownClientVersion = 100,
kCFSOCKSErrorUnsupportedServerVersion = 101,
/* SOCKS4-specific errors*/
kCFSOCKS4ErrorRequestFailed = 110,
kCFSOCKS4ErrorIdentdFailed = 111,
kCFSOCKS4ErrorIdConflict = 112,
kCFSOCKS4ErrorUnknownStatusCode = 113,
......
/* CFURL and CFURLConnection Errors */
kCFURLErrorUnknown = -998,
kCFURLErrorCancelled = -999,
kCFURLErrorBadURL = -1000,
kCFURLErrorTimedOut = -1001,
kCFURLErrorUnsupportedURL = -1002,
kCFURLErrorCannotFindHost = -1003,
kCFURLErrorCannotConnectToHost = -1004,
kCFURLErrorNetworkConnectionLost = -1005,
kCFURLErrorDNSLookupFailed = -1006,
kCFURLErrorHTTPTooManyRedirects = -1007,
kCFURLErrorResourceUnavailable = -1008,
kCFURLErrorNotConnectedToInternet = -1009,
......
0 件のコメント:
コメントを投稿