Constructor

GameManagerError

new GameManagerError(errorCode, errorDescription, result, castError)

Represents an error from the game manager or from the chrome sender SDK.

Parameter

errorCode

chrome.cast.games.GameManagerErrorCode

The type of error.

errorDescription

string

A human readable error description or null.

Value may be null.

result

chrome.cast.games.GameManagerResult

Additional information about the request that triggered this error. This is null if the errorCode parameter is chrome.cast.games.GameManagerErrorCode.CAST_ERROR.

castError

chrome.cast.Error

This is null if the errorCode parameter is not chrome.cast.games.GameManagerErrorCode.CAST_ERROR. otherwise, it is set to a chrome sender SDK specific error code.

See also
chrome.cast.games.GameManagerErrorCode
chrome.cast.ErrorCode

Properties

castError

chrome.cast.Error

Chrome sender SDK specific error-code. Set only if the errorCode parameter is not chrome.cast.games.GameManagerErrorCode.CAST_ERROR.

errorCode

chrome.cast.games.GameManagerErrorCode

The type of error.

errorDescription

nullable string

A human readable error description or null.

result

chrome.cast.games.GameManagerResult

Additional information about the request that triggered this error (e.g. the request ID, the player ID). This is null if the errorCode parameter is chrome.cast.games.GameManagerErrorCode.CAST_ERROR.