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 WKAudioFilePlayerItemStatus.failed. When playback fails, the error indicates the reason for the failure.