FormattingException
An exception caused while attempting to output the format.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Class
- Namespace: Unity.SmartStrings.Core.Formatting
- Assembly: UnityEngine.SmartStringsModule
- Inherits from: Exception
- Implements: ISerializable
public class FormattingException : Exception, ISerializable
Constructors
Constructor | Description |
|---|---|
| FormattingException(Unity.SmartStrings.Core.Parsing.FormatItem,System.Exception,System.Int32) | Creates a new instance of FormattingException. |
| FormattingException(Unity.SmartStrings.Core.Parsing.FormatItem,System.String,System.Int32) | Creates a new instance of FormattingException. |
Properties
Property | Description |
|---|---|
| ErrorItem | The FormatItem that caused the Exception. |
| Format | The base format string of the FormatItem that caused the Exception. |
| Index | The index inside the format string, where the error occurred. |
| Issue | Description of the formatting error. |
| Message | Error message that indicates the position within the format string where the error occurred. |