wrenjs is an ES6 module.
Classes
Members
(static) ErrorType
The type of error returned by the [VM].
Properties:
Name | Type | Description |
---|---|---|
COMPILE |
number
|
A syntax or resolution error detected at compile time. |
RUNTIME |
number
|
The error message for a runtime error. |
STACK_TRACE |
number
|
One entry of a runtime error's stack trace. |
(static) Result
The result of a VM interpreting wren source.
Properties:
Name | Type | Description |
---|---|---|
SUCCESS |
number
|
the VM interpreted the source without error. |
COMPILE_ERROR |
number
|
the VM experienced a compile error. |
RUNTIME_ERROR |
number
|
the VM experienced a runtime error. |