StructureFoundation
URLError
Describes errors in the URL error domain.
struct URLError
Describes errors in the URL error domain.
struct URLError
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 errorDomain: String
Default domain of the error.
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 errorCode: Int
The error code within the given domain.
var errorUserInfo: [String : Any]
The default user-info dictionary.
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.
var halfWidthCornerQuoted: String
var localizedDescription: String
Retrieve the localized description for this error.