Vinyl
Preparing search index...
@amzn/vinyl-amzn
ReportableMediaError
Class ReportableMediaError
An error from the media element
Hierarchy (
View Summary
)
ReportableError
ReportableMediaError
Index
Constructors
constructor
Properties
code
level
origin
reason
MEDIA_
ERR_
ABORTED
MEDIA_
ERR_
DECODE
MEDIA_
ERR_
NETWORK
MEDIA_
ERR_
SRC_
NOT_
SUPPORTED
Accessors
[to
String
Tag]
name
Methods
to
JSON
Constructors
constructor
new
ReportableMediaError
(
error
:
Maybe
<
MediaError
>
)
:
ReportableMediaError
Parameters
error
:
Maybe
<
MediaError
>
Returns
ReportableMediaError
Properties
Readonly
code
code
:
number
Readonly
level
level
:
ErrorLevel
Readonly
origin
origin
:
string
Readonly
reason
reason
:
string
Static
Readonly
MEDIA_
ERR_
ABORTED
MEDIA_ERR_ABORTED
:
1
Static
Readonly
MEDIA_
ERR_
DECODE
MEDIA_ERR_DECODE
:
3
Static
Readonly
MEDIA_
ERR_
NETWORK
MEDIA_ERR_NETWORK
:
2
Static
Readonly
MEDIA_
ERR_
SRC_
NOT_
SUPPORTED
MEDIA_ERR_SRC_NOT_SUPPORTED
:
4
Accessors
[to
String
Tag]
get
"[toStringTag]"
()
:
string
Returns
string
name
get
name
()
:
string
Returns
string
Methods
to
JSON
toJSON
()
:
AnyRecord
All ReportableError instances must be serializable.
Returns
AnyRecord
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
code
level
origin
reason
MEDIA_
ERR_
ABORTED
MEDIA_
ERR_
DECODE
MEDIA_
ERR_
NETWORK
MEDIA_
ERR_
SRC_
NOT_
SUPPORTED
Accessors
[to
String
Tag]
name
Methods
to
JSON
Vinyl
Loading...
An error from the media element