Enumerationswift 6.0.3Foundation
Code
enum Code
enum Code
import Foundation
struct URLError
Describes errors in the URL error domain.
case appTransportSecurityRequiresSecureConnection
case backgroundSessionInUseByAnotherProcess
case backgroundSessionRequiresSharedContainer
case backgroundSessionWasDisconnected
case badServerResponse
case badURL
case callIsActive
case cancelled
case cannotCloseFile
case cannotConnectToHost
case cannotCreateFile
case cannotDecodeContentData
case cannotDecodeRawData
case cannotFindHost
case cannotLoadFromNetwork
case cannotMoveFile
case cannotOpenFile
case cannotParseResponse
case cannotRemoveFile
case cannotWriteToFile
case clientCertificateRejected
case clientCertificateRequired
case dataLengthExceedsMaximum
case dataNotAllowed
case dnsLookupFailed
case downloadDecodingFailedMidStream
case downloadDecodingFailedToComplete
case fileDoesNotExist
case fileIsDirectory
case httpTooManyRedirects
case internationalRoamingOff
case networkConnectionLost
case noPermissionsToReadFile
case notConnectedToInternet
case redirectToNonExistentLocation
case requestBodyStreamExhausted
case resourceUnavailable
case secureConnectionFailed
case serverCertificateHasBadDate
case serverCertificateHasUnknownRoot
case serverCertificateNotYetValid
case serverCertificateUntrusted
case timedOut
case unknown
case unsupportedURL
case userAuthenticationRequired
case userCancelledAuthentication
case zeroByteResource
static 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 Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A 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 Sendable
init?(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)