ExpressionError
Raised for syntax errors, disallowed operations and runtime failures in expressions.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ExpressionError( message, source, position?): ExpressionError;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
message |
string |
source |
string |
position? |
number |
Returns
Section titled “Returns”ExpressionError
Overrides
Section titled “Overrides”Error.constructorProperties
Section titled “Properties”| Property | Modifier | Type | Description |
|---|---|---|---|
position |
readonly |
number | undefined |
Character offset in source, for syntax errors. |
source |
readonly |
string |
Source of the expression that failed. |