URL Loading System Error Info Keys

Recognize these keys from the user info dictionary of error objects produced by URL Loading APIs.

Overview

These keys are only present in the NSURLErrorDomain.

Topics

Keys

let NSURLErrorFailingURLErrorKey: String

The URL which caused a load to fail.

let NSURLErrorFailingURLPeerTrustErrorKey: String

The state of a failed SSL handshake.

let NSURLErrorFailingURLStringErrorKey: String

The URL which caused a load to fail.

Deprecated

let NSErrorFailingURLStringKey: String

The URL that caused the error.

Deprecated

See Also

Errors

struct URLError

Error codes returned by URL loading APIs.