docs.unity3d.com
    Show / Hide Table of Contents

    Class ParsingErrors

    Represents parsing errors in a Format string. This exception only gets thrown when Parser.ErrorAction is set to ThrowError.

    Inheritance
    Object
    ParsingErrors
    Namespace: UnityEngine.Localization.SmartFormat.Core.Parsing
    Syntax
    public class ParsingErrors : Exception

    Properties

    HasIssues

    Declaration
    public bool HasIssues { get; }
    Property Value
    Type Description
    Boolean

    Issues

    Declaration
    public List<ParsingErrors.ParsingIssue> Issues { get; }
    Property Value
    Type Description
    List<ParsingErrors.ParsingIssue>

    Message

    Declaration
    public override string Message { get; }
    Property Value
    Type Description
    String

    MessageShort

    Declaration
    public string MessageShort { get; }
    Property Value
    Type Description
    String

    Methods

    AddIssue(String, Int32, Int32)

    Declaration
    public void AddIssue(string issue, int startIndex, int endIndex)
    Parameters
    Type Name Description
    String issue
    Int32 startIndex
    Int32 endIndex

    Clear()

    Declaration
    public void Clear()

    Init(Format)

    Declaration
    public void Init(Format result)
    Parameters
    Type Name Description
    Format result

    Extension Methods

    TupleExtensions.IsValueTuple(Object)
    TupleExtensions.GetValueTupleItemObjects(Object)
    TupleExtensions.GetValueTupleItemObjectsFlattened(Object)
    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