Contents

backgroundTaskCancelledReason

The reason for canceling a background task.

Declaration

var backgroundTaskCancelledReason: URLError.BackgroundTaskCancelledReason? { get }

Discussion

If the error doesn’t involve cancellation of a background task, this property is nil.

See Also

Error details