Contents

error

An error that caused a failure.

Declaration

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

Discussion

By default, this value is nil. If a player reaches a AVPlayer.Status.failed, the system populates this value with an error that describes the failure.

See Also

Determining player readiness