Enumerationswift 6.0.3Foundation
Code
You’re reading documentation from an older version of Swift 6.1.
A symbol with the same signature as this one exists in the latest stable release of Swift 6.1.
enum CodeYou’re reading documentation from an older version of Swift 6.1.
A symbol with the same signature as this one exists in the latest stable release of Swift 6.1.
enum Codeimport Foundationstruct URLErrorDescribes errors in the URL error domain.
case appTransportSecurityRequiresSecureConnectioncase backgroundSessionInUseByAnotherProcesscase backgroundSessionRequiresSharedContainercase backgroundSessionWasDisconnectedcase badServerResponsecase badURLcase callIsActivecase cancelledcase cannotCloseFilecase cannotConnectToHostcase cannotCreateFilecase cannotDecodeContentDatacase cannotDecodeRawDatacase cannotFindHostcase cannotLoadFromNetworkcase cannotMoveFilecase cannotOpenFilecase cannotParseResponsecase cannotRemoveFilecase cannotWriteToFilecase clientCertificateRejectedcase clientCertificateRequiredcase dataLengthExceedsMaximumcase dataNotAllowedcase dnsLookupFailedcase downloadDecodingFailedMidStreamcase downloadDecodingFailedToCompletecase fileDoesNotExistcase fileIsDirectorycase httpTooManyRedirectscase internationalRoamingOffcase networkConnectionLostcase noPermissionsToReadFilecase notConnectedToInternetcase redirectToNonExistentLocationcase requestBodyStreamExhaustedcase resourceUnavailablecase secureConnectionFailedcase serverCertificateHasBadDatecase serverCertificateHasUnknownRootcase serverCertificateNotYetValidcase serverCertificateUntrustedcase timedOutcase unknowncase unsupportedURLcase userAuthenticationRequiredcase userCancelledAuthenticationcase zeroByteResourcestatic var backgroundSessionInUseByAnotherProcess: URLError.Code { get }static var backgroundSessionRequiresSharedContainer: URLError.Code { get }static var backgroundSessionWasDisconnected: URLError.Code { get }static var badServerResponse: URLError.Code { get }static var badURL: URLError.Code { get }static var callIsActive: URLError.Code { get }static var cancelled: URLError.Code { get }static var cannotCloseFile: URLError.Code { get }static var cannotConnectToHost: URLError.Code { get }static var cannotCreateFile: URLError.Code { get }static var cannotDecodeContentData: URLError.Code { get }static var cannotDecodeRawData: URLError.Code { get }static var cannotFindHost: URLError.Code { get }static var cannotLoadFromNetwork: URLError.Code { get }static var cannotMoveFile: URLError.Code { get }static var cannotOpenFile: URLError.Code { get }static var cannotParseResponse: URLError.Code { get }static var cannotRemoveFile: URLError.Code { get }static var cannotWriteToFile: URLError.Code { get }static var clientCertificateRejected: URLError.Code { get }static var clientCertificateRequired: URLError.Code { get }static var dataNotAllowed: URLError.Code { get }static var dnsLookupFailed: URLError.Code { get }static var downloadDecodingFailedMidStream: URLError.Code { get }static var downloadDecodingFailedToComplete: URLError.Code { get }static var fileDoesNotExist: URLError.Code { get }static var fileIsDirectory: URLError.Code { get }static var httpTooManyRedirects: URLError.Code { get }static var internationalRoamingOff: URLError.Code { get }static var networkConnectionLost: URLError.Code { get }static var noPermissionsToReadFile: URLError.Code { get }static var notConnectedToInternet: URLError.Code { get }static var redirectToNonExistentLocation: URLError.Code { get }static var requestBodyStreamExhausted: URLError.Code { get }static var resourceUnavailable: URLError.Code { get }static var secureConnectionFailed: URLError.Code { get }static var serverCertificateHasBadDate: URLError.Code { get }static var serverCertificateHasUnknownRoot: URLError.Code { get }static var serverCertificateNotYetValid: URLError.Code { get }static var serverCertificateUntrusted: URLError.Code { get }static var timedOut: URLError.Code { get }static var unknown: URLError.Code { get }static var unsupportedURL: URLError.Code { get }static var userAuthenticationRequired: URLError.Code { get }static var userCancelledAuthentication: URLError.Code { get }static var zeroByteResource: URLError.Code { get }var failingURL: URL? { get }The URL which caused a load to fail.
var failureURLString: String? { get }The string for the URL which caused a load to fail.
protocol EquatableA type that can be compared for value equality.
protocol Hashable : EquatableA type that can be hashed into a Hasher to produce an integer hash value.
protocol RawRepresentable<RawValue>A type that can be converted to and from an associated raw value.
protocol Sendableinit?(rawValue: Int) var hashValue: Int { get }static func != (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether two values are not equal.
func hash(into hasher: inout Hasher)