Initializes a new instance of the
TypeConverterException class
with a specified error message.
- Namespace
- CsvHelper
.TypeConversion - Containing Type
- Type
Converter Exception
Syntax
public TypeConverterException(ITypeConverter typeConverter, MemberMapData memberMapData, object value, CsvContext context, string message)
Parameters
| Name | Type | Description |
|---|---|---|
| typeConverter | ITypeConverter | The type converter. |
| memberMapData | MemberMapData | The member map data. |
| value | object | The value. |
| context | CsvContext | The writing context. |
| message | string | The message that describes the error. |