Structureswift 6.0.3Foundation
URLError
Describes errors in the URL error domain.
struct URLError
Describes errors in the URL error domain.
struct URLError
import Foundation
protocol CustomNSError : Error
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 : Sendable
A type representing an error value that can be thrown.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol Sendable
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.
enum Code
static var errorDomain: String { get }
Default domain of the error.
var localizedDescription: String { get }
Retrieve the localized description for this error.
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.