FormattingException
Creates a new instance of FormattingException.
Read time 1 minuteLast updated 2 months ago
Definition
- Type: Constructor
- Namespace: Unity.SmartStrings.Core.Formatting
- Assembly: UnityEngine.SmartStringsModule
FormattingException(FormatItem, Exception, int)
Creates a new instance of FormattingException.
public FormattingException(FormatItem errorItem, Exception formatException, int index)
Parameters
The FormatItem which caused the Exception.
The Exception that was caused by the FormatItem.
The index inside the format string, where the error occurred.
FormattingException(FormatItem, string, int)
Creates a new instance of FormattingException.
public FormattingException(FormatItem errorItem, string issue, int index)
Parameters
The FormatItem which caused the Exception.
The description of the error.
The index inside the format string, where the error occurred.