Documentation

Unity Engine

Download Unity

Unity Engine

FormattingException

Creates a new instance of FormattingException.
Read time 1 minuteLast updated 2 months ago

Definition

FormattingException(FormatItem, Exception, int)

Creates a new instance of FormattingException.
public FormattingException(FormatItem errorItem, Exception formatException, int index)

Parameters

errorItem

The FormatItem which caused the Exception.

formatException

The Exception that was caused by the FormatItem.

index

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

errorItem

The FormatItem which caused the Exception.

issue

The description of the error.

index

The index inside the format string, where the error occurred.