NetworkError

@objc(THEOplayerNetworkError)
public protocol NetworkError : THEOError

A network error.

  • url

    The URL that was used.

    Declaration

    Swift

    var url: String? { get }
  • The HTTP status code.

    Declaration

    Swift

    var status: Int { get }
  • The error comment which might contain the HTTP status code.

    Remark

    Example: "HTTP 403: Forbidden".

    Declaration

    Swift

    var errorComment: String? { get }