Function JSObject.makeError
Creates a JavaScript Error object, as if by invoking the built-in Error constructor.
Parameters
| Name | Description |
|---|---|
| machine | A Machine. |
| arguments | Arguments to pass to the Error constructor. |
Returns
A JSObject that is an Error.
Throws
JSException when the JS VM is aborted with the xsUnhandledExceptionExit status.