Contents

error

An error that describes the cause of a failure.

Declaration

var error: (any Error)? { get }

Discussion

This property is nil unless the status property of the player item is WKAudioFilePlayerStatus.failed. When playback fails, the error indicates the reason for the failure.

See Also

Getting Information About the Player