mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Add some missing NSURLErrorDomain constants, as described here:
https://web.archive.org/web/20131113010445/https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_Constants/Reference/reference.html
This commit is contained in:
parent
7474bd80e3
commit
7f7371acc8
1 changed files with 17 additions and 1 deletions
|
@ -68,16 +68,32 @@ enum
|
|||
NSURLErrorUserCancelledAuthentication = -1012,
|
||||
NSURLErrorUserAuthenticationRequired = -1013,
|
||||
NSURLErrorZeroByteResource = -1014,
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
|
||||
NSURLErrorCannotDecodeRawData = -1015,
|
||||
NSURLErrorCannotDecodeContentData = -1016,
|
||||
NSURLErrorCannotParseResponse = -1017,
|
||||
#endif
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_7, GS_API_LATEST)
|
||||
NSURLErrorInternationalRoamingOff = -1018,
|
||||
NSURLErrorCallIsActive = -1019,
|
||||
NSURLErrorDataNotAllowed = -1020,
|
||||
NSURLErrorRequestBodyStreamExhausted = -1021,
|
||||
#endif
|
||||
NSURLErrorFileDoesNotExist = -1100,
|
||||
NSURLErrorFileIsDirectory = -1101,
|
||||
NSURLErrorNoPermissionsToReadFile = -1102,
|
||||
NSURLErrorDataLengthExceedsMaximum = -1103,
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
|
||||
NSURLErrorDataLengthExceedsMaximum = -1103,
|
||||
#endif
|
||||
NSURLErrorSecureConnectionFailed = -1200,
|
||||
NSURLErrorServerCertificateHasBadDate = -1201,
|
||||
NSURLErrorServerCertificateUntrusted = -1202,
|
||||
NSURLErrorServerCertificateHasUnknownRoot = -1203,
|
||||
NSURLErrorServerCertificateNotYetValid = -1204,
|
||||
NSURLErrorClientCertificateRejected = -1205,
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_6, GS_API_LATEST)
|
||||
NSURLErrorClientCertificateRequired = -1206,
|
||||
#endif
|
||||
NSURLErrorCannotLoadFromNetwork = -2000,
|
||||
|
||||
NSURLErrorCannotCreateFile = -3000,
|
||||
|
|
Loading…
Reference in a new issue