- 高德地图错误码对照 https://lbs.amap.com/api/android-sdk/guide/map-tools/error-code
- aliyun天气错误码 https://help.aliyun.com/document_detail/400584.html
- 小程序错误码对照 https://opendocs.alipay.com/mini/00nmrr
- http错误码对照 https://cloud.tencent.com/developer/article/1045037
- 钉钉错误码 https://open.dingtalk.com/document/orgapp-server/server-api-error-codes-1
- mysql错误码对照 https://herbertgaoo.github.io/2021/06/mysql_error_code/
- errno错误码对照 https://www.programminghunter.com/article/98031106992/
- 电信错误码对照 https://support.dun.163.com/documents/287305921855672320?docId=314946816851496960
网络错误
未知错误
NSURLErrorUnknown = -1,
网络未连接,请检查网络
NSURLErrorCannotConnectToHost = -1004,
NSURLErrorCannotFindHost = -1003,
NSURLErrorNotConnectedToInternet = -1009,
当前网络不佳,请稍后重试
NSURLErrorTimedOut = -1001
NSURLErrorCannotLoadFromNetwork = -2000,
请求失败,请重试
NSURLErrorCancelled = -999
服务器错误
NSURLErrorBadServerResponse = -1011,
NSURLErrorResourceUnavailable = -1008,
服务器返回异常
NSURLErrorServerCertificateHasBadDate = -1201,
NSURLErrorCannotDecodeRawData = -1015,
NSURLErrorCannotDecodeContentData = -1016,
失去连接,请重试
NSURLErrorNetworkConnectionLost = -1005,
下载失败
NSURLErrorDownloadDecodingFailedMidStream = -3006,
NSURLErrorDownloadDecodingFailedToComplete = -3007
非法url
NSURLErrorBadURL = -1000,
NSURLErrorUnsupportedURL = -1002
NSFileNoSuchFileError = 4,
NSFileLockingError = 255,
NSFileReadUnknownError = 256,
NSFileReadNoPermissionError = 257,
NSFileReadInvalidFileNameError = 258,
NSFileReadCorruptFileError = 259,
NSFileReadNoSuchFileError = 260,
NSFileReadInapplicableStringEncodingError = 261,
NSFileReadUnsupportedSchemeError = 262,
NSFileReadTooLargeError = 263,
NSFileReadUnknownStringEncodingError = 264,
NSFileWriteUnknownError = 512,
NSFileWriteNoPermissionError = 513,
NSFileWriteInvalidFileNameError = 514,
NSFileWriteInapplicableStringEncodingError = 517,
NSFileWriteUnsupportedSchemeError = 518,
NSFileWriteOutOfSpaceError = 640,
NSFileWriteVolumeReadOnlyError = 642m
NSKeyValueValidationError = 1024,
NSFormattingError = 2048,
NSUserCancelledError = 3072,
NSFileErrorMinimum = 0,
NSFileErrorMaximum = 1023,
NSValidationErrorMinimum = 1024,
NSValidationErrorMaximum = 2047,
NSFormattingErrorMinimum = 2048,
NSFormattingErrorMaximum = 2559,
NSPropertyListReadCorruptError = 3840,
NSPropertyListReadUnknownVersionError = 3841,
NSPropertyListReadStreamError = 3842,
NSPropertyListWriteStreamError = 3851,
NSPropertyListErrorMinimum = 3840,
NSPropertyListErrorMaximum = 4095
NSExecutableErrorMinimum = 3584,
NSExecutableNotLoadableError = 3584,
NSExecutableArchitectureMismatchError = 3585,
NSExecutableRuntimeMismatchError = 3586,
NSExecutableLoadError = 3587,
NSExecutableLinkError = 3588,
NSExecutableErrorMaximum = 3839,
https://blog.csdn.net/sinat_29949283/article/details/48057311
http://www.javashuo.com/article/p-fmwczvis-hk.html