Error

public enum Error : Swift.Error
extension Richi.Error: LocalizedError

This enum is used for all errors that are generated by this library. Any external errors are wrapped within more descriptive ones.

  • The player could not play the current asset

    Declaration

    Swift

    case assetError(_: Swift.Error?)
  • The given asset is not playable because of an undisclosed reason

    Declaration

    Swift

    case assetNotPlayable
  • The player could not play the current item

    Declaration

    Swift

    case playerItemError(_: Swift.Error?)
  • Declaration

    Swift

    public var errorDescription: String? { get }