Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
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

Parameters

message

any

Returns

PlayerSessionError


Last updated: Jul 22, 2026