CsvValidationException(string)
Added in v34.0.0
public CsvValidationException(string message)Creates the exception for a value that is not valid.
Parameters
messagestring- The message that says what is wrong.
Exception in CsvHelper
Thrown when the method of a CsvValidateAttribute rejects the value of a member. The record methods of CsvReader report it as the Exception.InnerException of a CsvFormatException that names the record, the field and the member.
public sealed class CsvValidationException : FormatExceptionCsvHelperCsvHelper.dllpublic CsvValidationException(string message)Creates the exception for a value that is not valid.
messagestring