Class ParsingErrors | Localization | 0.7.1-preview
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
    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
    In This Article
    • Constructors
      • ParsingErrors(Format)
    • Properties
      • HasIssues
      • Issues
      • Message
      • MessageShort
    • Methods
      • AddIssue(String, Int32, Int32)
    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