Contents

error

An error object that indicates why the task failed.

Declaration

var error: (any Error)? { get }

Discussion

This value is nil if the task is still active or if the transfer completed successfully.

See Also

Obtaining general task information