as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support

PlayerSessionError

All media elements have an associated error status, which records the last error the element encountered since its resource selection algorithm was last invoked. Onre getting an error while perforning handle functions, apps must create instance of PlayerSessionError to reject the promise in corresponding PlayerServerHandler handle functions.

For additional information, see https://html.spec.whatwg.org/multipage/media.html#mediaerror.

Extends

  • Error

Extended by

Constructors

new PlayerSessionError()

new PlayerSessionError(message): PlayerSessionError

Initializes a new instance of PlayerSessionError.

Parameters

message

any

Returns

PlayerSessionError

Overrides

Error.constructor

Properties

message

message: string

Inherited from

Error.message


name

name: string

Inherited from

Error.name


stack?

optional stack: string

Inherited from

Error.stack


Last updated: Sep 30, 2025