Constructor

ErrorData

new ErrorData(type)

Parameter

type

cast.framework.messages.ErrorType

Value must not be null.

Properties

customData

(Object or undefined)

Application-specific data for this request. It enables the sender and receiver to easily extend the media protocol without having to use a new namespace with custom messages.

detailedErrorCode

(non-null cast.framework.events.DetailedErrorCode or undefined)

Optional detailed error code from player.

reason

(non-null cast.framework.messages.ErrorReason or undefined)

The error reason.

requestId

number

Id of the request, used to correlate request/response.

type

non-null cast.framework.messages.ErrorType