InputFormatterException Class

Definition

Exception thrown by IInputFormatter when the input is not in an expected format.

C#
public class InputFormatterException : Exception
Inheritance
InputFormatterException

Constructors

InputFormatterException()

Initializes a new instance of InputFormatterException.

InputFormatterException(String, Exception)

Initializes a new instance of InputFormatterException with the specified message and inner exception that is the cause of this exception.

InputFormatterException(String)

Initializes a new instance of InputFormatterException with the specified message.

Applies to

Product Versions
ASP.NET Core 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0