Class JSException
Thrown when a JS VM is aborted with the xsUnhandledExceptionExit
status.
class JSException
: object.Exception
;
Constructors
Name | Description |
this
(msg, exception, file, line)
|
Constructs a new instace of JSException.
|
this
(msg, script, file, line)
|
Constructs a new instace of JSException given the Script from which this exception was thrown.
|
Fields
Name | Type | Description |
exception
|
const(JSValue) | The exception value that was thrown from the VM.
|
scriptFile
|
const(string) | The JS script or module file from which the exception was thrown.
|
scriptLine
|
const(ulong) | The line of the JS script or module file from which the exception was thrown.
|
Properties
Name | Type | Description |
script [get]
|
const(Script) | The Script from which this exception was thrown.
|