Defines a generic Error type. When the target platform is JS, Error
extends the native
js.Error
type.
Constructor
Variables
Methods
Static methods
staticfromDynamic (err:Dynamic, ?pos:PosInfos):Error
It creates an instance of Error from any value.
If err
is already an instance of Error
, it is returned and nothing is created.