A QueryError holds the definition of a query parsing error.
QueryErrors are obtained when parsing a query through the function QueryEngine.Parse. See QueryEngine for an example where we recover parsing errors when a query is invalid.
| Property | Description |
|---|---|
| index | Index where the error happened. |
| length | Length of the block that was being parsed. |
| reason | Reason why the parsing failed. |
| Constructor | Description |
|---|---|
| QueryError | Construct a new QueryError. |