Version: Unity 6.7 Alpha (6000.7)
LanguageEnglish
  • C#

ParsingErrors

class in Unity.SmartStrings.Core.Parsing

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

Cancel

Description

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

Properties

Property Description
HasIssues Returns true if the Collections.Generic.IList_1 of ParsingIssues contains elements.
Issues Gets an Collections.Generic.IList_1 of ParsingIssues.
Message Gets the long version of an error message.
MessageShort Gets the short version of an error message.

Constructors

Constructor Description
ParsingErrors Creates a new instance for object pooling. Immediately after creating the instance, an overload of 'Initialize' must be called.

Public Methods

Method Description
AddIssue Adds a new ParsingIssue.
Clear Clears the ParsingErrors.Issues list. This method gets called by Unity.SmartStrings.Pooling.SmartPools.ParsingErrorsPool when it releases an instance.
Initialize Initializes the instance of ParsingErrors.