[ Web Proxy ]
URL:
Viewing: https://docs.unity3d.com/ScriptReference/Search.QueryError.html [Back]  [Original]

Unity - Scripting API: QueryError
Version: Unity 6.5 (6000.5)
    • Supported
    • Legacy
    LanguageEnglish
    • C#

    QueryError

    class in UnityEditor.Search

    Suggest a change

    Success!

    Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

    Close

    Submission failed

    For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

    Close
    Your name Your email Suggestion* Submit suggestion

    Cancel

    Description

    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.

    Properties

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

    Constructors

    Constructor Description
    QueryErrorConstruct a new QueryError.

    Web Proxy Viewer  |  New URL  |  Original Page