Class QueryError | Quick Search | 1.5.4
docs.unity3d.com
    Show / Hide Table of Contents

    Class QueryError

    A QueryError holds the definition of a query parsing error.

    Inheritance
    Object
    QueryError
    Namespace: Unity.QuickSearch
    Syntax
    public class QueryError

    Constructors

    QueryError(Int32, Int32, String)

    Construct a new QueryError.

    Declaration
    public QueryError(int index, int length, string reason)
    Parameters
    Type Name Description
    Int32 index

    Index where the error happened.

    Int32 length

    Length of the block that was being parsed.

    String reason

    Reason why the parsing failed.

    QueryError(Int32, String)

    Construct a new QueryError with a default length of 1.

    Declaration
    public QueryError(int index, string reason)
    Parameters
    Type Name Description
    Int32 index

    Index where the error happened.

    String reason

    Reason why the parsing failed.

    Properties

    index

    Index where the error happened.

    Declaration
    public int index { get; }
    Property Value
    Type Description
    Int32

    length

    Length of the block that was being parsed.

    Declaration
    public int length { get; }
    Property Value
    Type Description
    Int32

    reason

    Reason why the parsing failed.

    Declaration
    public string reason { get; }
    Property Value
    Type Description
    String
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023