Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


QueryError

A QueryError holds the definition of a query parsing error.
Read time 1 minuteLast updated 6 days ago

Definition

public class QueryError

Remarks

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.

Constructors

Constructor

Description

QueryError()Construct a new QueryError.
QueryError(System.Int32,System.Int32,System.String)Construct a new QueryError.
QueryError(System.Int32,System.String)Construct a new QueryError.

Properties

Property

Description

indexIndex where the error happened.
lengthLength of the block that was being parsed.
reasonReason why the parsing failed.