Instance Property

error

The error that prevented the content from being downloaded.

Declaration

var error: Error? { get }

Discussion

The value of this property is valid only when the downloadState property is set to SKDownloadState.failed.

See Also

Accessing a Completed Download

var contentURL: URL?

The local location of the downloaded file.