Contents

error

The error that caused the player item to fail.

Declaration

nonisolated var error: (any Error)? { get }

Discussion

The value of this property is an error that describes what caused the player item to no longer be able to be played.

If the receiver’s status is not AVPlayerItem.Status.failed, the value of this property is nil.

See Also

Determining readiness