THEOError

@objc(THEOplayerTHEOError)
public protocol THEOError : THEOBaseError

An error that is thrown by THEOplayer.

  • The date at which the error occured.

    Declaration

    Swift

    var timestamp: Date { get }
  • A THEOErrorCode that indicates the type of error that has occurred.

    Declaration

    Swift

    var code: THEOErrorCode { get }
  • An ErrorCategory that indicates the category of the error that has occurred.

    Declaration

    Swift

    var category: ErrorCategory { get }
  • The underlying cause of this error, if known.

    Declaration

    Swift

    var cause: THEOBaseError? { get }