URL Session Error Dictionary Keys

Keys used in conjunction with error objects returned by URL sessions and tasks.

Topics

User Info Dictionary Keys

let NSURLSessionDownloadTaskResumeData: String

A key in the error dictionary that provides resume data.

let NSURLErrorBackgroundTaskCancelledReasonKey: String

A key in the error dictionary that provides the reason for canceling a background task.

See Also

Handling Errors

Background Task Cancellation

Constants that indicate why a background task was canceled.