class thx.Error
Available on all platforms
Sub classes | ||||||||||||
![]() | AbstractMethod, AssertError, ErrorWrapper, NotImplemented, NullArgument |
|
Defines a generic Error type. When the target platform is JS, Error
extends the native
js.Error
type.
Class Fields
static function fromDynamic(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.
Instance Fields
Toggle inherited fieldsvar message(default,null):String
Available on cpp, cs, java, neko, php, python, swf
The text message associated with the error.