Class ParsingErrors | Localization | 0.8.1-preview
docs.unity.cn
    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
    Exception
    ParsingErrors
    Namespace: UnityEngine.Localization.SmartFormat.Core.Parsing
    Syntax
    public class ParsingErrors : Exception, ISerializable, _Exception

    Constructors

    ParsingErrors(Format)

    Declaration
    public ParsingErrors(Format result)
    Parameters
    Type Name Description
    Format result

    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
    Overrides
    Exception.Message

    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
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Wednesday, August 19, 2020