ParsingErrors
Represents parsing errors in a format string. This exception only gets thrown when Parser.ErrorAction is set to ThrowError.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Class
- Namespace: Unity.SmartStrings.Core.Parsing
- Assembly: UnityEngine.SmartStringsModule
- Inherits from: Exception
- Implements: ISerializable
public class ParsingErrors : Exception, ISerializable
Constructors
Constructor | Description |
|---|---|
| ParsingErrors() | Creates a new instance for object pooling. Immediately after creating the instance, an overload of 'Initialize' must be called. |
Properties
Property | Description |
|---|---|
| HasIssues | Returns |
| Issues | Gets an IList_1 of ParsingErrors.ParsingIssues. |
| Message | Gets the long version of an error message. |
| MessageShort | Gets the short version of an error message. |
Methods
Method | Description |
|---|---|
| AddIssue | Adds a new ParsingErrors.ParsingIssue. |
| Clear | Clears the ParsingErrors.Issues list. This method gets called by ParsingErrorsPool when it releases an instance. |
| Initialize | Initializes the instance of ParsingErrors. |
Classes
Class | Description |
|---|---|
| ParsingErrors.ParsingIssue | Represents a single parsing issue in a format string. |