Class: PlayerError
The single error type of the player module. element names the element that raised it, when there is one.
Extends
Error
Constructors
Constructor
new PlayerError(
code,message,options?):PlayerError
Parameters
code
message
string
options?
cause?
unknown
element?
string
Returns
PlayerError
Overrides
Error.constructor
Properties
category
readonlycategory:PlayerErrorCategory
code
readonlycode:PlayerErrorCode
element?
readonlyoptionalelement?:string