StructureFoundation5.9.0
URLError
Describes errors in the URL error domain.
struct URLError
Citizens in Foundation
Conformances
protocol CustomNSError
Describes an error type that specifically provides a domain, code, and user-info dictionary.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Error
A type representing an error value that can be thrown.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol Sendable
A type whose values can safely be passed across concurrency domains by copying.
Members
static var backgroundSessionInUseByAnotherProcess: URLError.Code
static var backgroundSessionRequiresSharedContainer: URLError.Code
static var backgroundSessionWasDisconnected: URLError.Code
static var badServerResponse: URLError.Code
static var badURL: URLError.Code
static var callIsActive: URLError.Code
static var cancelled: URLError.Code
static var cannotCloseFile: URLError.Code
static var cannotConnectToHost: URLError.Code
static var cannotCreateFile: URLError.Code
static var cannotDecodeContentData: URLError.Code
static var cannotDecodeRawData: URLError.Code
static var cannotFindHost: URLError.Code
static var cannotLoadFromNetwork: URLError.Code
static var cannotMoveFile: URLError.Code
static var cannotOpenFile: URLError.Code
static var cannotParseResponse: URLError.Code
static var cannotRemoveFile: URLError.Code
static var cannotWriteToFile: URLError.Code
static var clientCertificateRejected: URLError.Code
static var clientCertificateRequired: URLError.Code
static var dataNotAllowed: URLError.Code
static var dnsLookupFailed: URLError.Code
static var downloadDecodingFailedMidStream: URLError.Code
static var downloadDecodingFailedToComplete: URLError.Code
static var fileDoesNotExist: URLError.Code
static var fileIsDirectory: URLError.Code
static var httpTooManyRedirects: URLError.Code
static var internationalRoamingOff: URLError.Code
static var networkConnectionLost: URLError.Code
static var noPermissionsToReadFile: URLError.Code
static var notConnectedToInternet: URLError.Code
static var redirectToNonExistentLocation: URLError.Code
static var requestBodyStreamExhausted: URLError.Code
static var resourceUnavailable: URLError.Code
static var secureConnectionFailed: URLError.Code
static var serverCertificateHasBadDate: URLError.Code
static var serverCertificateHasUnknownRoot: URLError.Code
static var serverCertificateNotYetValid: URLError.Code
static var serverCertificateUntrusted: URLError.Code
static var timedOut: URLError.Code
static var unknown: URLError.Code
static var unsupportedURL: URLError.Code
static var userAuthenticationRequired: URLError.Code
static var userCancelledAuthentication: URLError.Code
static var zeroByteResource: URLError.Code
var failingURL: URL?
The URL which caused a load to fail.
var failureURLString: String?
The string for the URL which caused a load to fail.
enum Code
Features
var halfWidthCornerQuoted: String
var localizedDescription: String
Retrieve the localized description for this error.
static func != (Self, Self
) -> Bool