mirror of
https://gitee.com/csharpui/CPF.git
synced 2025-07-19 07:44:49 +08:00
46 lines
1.3 KiB
C#
46 lines
1.3 KiB
C#
![]() |
namespace CPF.Mac.Foundation
|
||
|
{
|
||
|
public enum NSUrlError
|
||
|
{
|
||
|
Unknown = -1,
|
||
|
Cancelled = -999,
|
||
|
BadURL = -1000,
|
||
|
TimedOut = -1001,
|
||
|
UnsupportedURL = -1002,
|
||
|
CannotFindHost = -1003,
|
||
|
CannotConnectToHost = -1004,
|
||
|
NetworkConnectionLost = -1005,
|
||
|
DNSLookupFailed = -1006,
|
||
|
HTTPTooManyRedirects = -1007,
|
||
|
ResourceUnavailable = -1008,
|
||
|
NotConnectedToInternet = -1009,
|
||
|
RedirectToNonExistentLocation = -1010,
|
||
|
BadServerResponse = -1011,
|
||
|
UserCancelledAuthentication = -1012,
|
||
|
UserAuthenticationRequired = -1013,
|
||
|
ZeroByteResource = -1014,
|
||
|
CannotDecodeRawData = -1015,
|
||
|
CannotDecodeContentData = -1016,
|
||
|
CannotParseResponse = -1017,
|
||
|
FileDoesNotExist = -1100,
|
||
|
FileIsDirectory = -1101,
|
||
|
NoPermissionsToReadFile = -1102,
|
||
|
DataLengthExceedsMaximum = -1103,
|
||
|
SecureConnectionFailed = -1200,
|
||
|
ServerCertificateHasBadDate = -1201,
|
||
|
ServerCertificateUntrusted = -1202,
|
||
|
ServerCertificateHasUnknownRoot = -1203,
|
||
|
ServerCertificateNotYetValid = -1204,
|
||
|
ClientCertificateRejected = -1205,
|
||
|
CannotLoadFromNetwork = -2000,
|
||
|
CannotCreateFile = -3000,
|
||
|
CannotOpenFile = -3001,
|
||
|
CannotCloseFile = -3002,
|
||
|
CannotWriteToFile = -3003,
|
||
|
CannotRemoveFile = -3004,
|
||
|
CannotMoveFile = -3005,
|
||
|
DownloadDecodingFailedMidStream = -3006,
|
||
|
DownloadDecodingFailedToComplete = -3007
|
||
|
}
|
||
|
}
|