InPlayerError

public protocol InPlayerError : Error

Interface declaring error properties

  • Error code.

    Declaration

    Swift

    var code: Int { get }
  • Error message. (Optional)

    Declaration

    Swift

    var message: String? { get }
  • List of error messages. (Optional)

    Declaration

    Swift

    var errorList: [String]? { get }
  • The original error for further inspection.

    Declaration

    Swift

    var originalError: Error { get }
  • Initializer

    Declaration

    Swift

    init(code: Int, message: String?, errorList: [String]?, error: Error)