Class CsvReadExceptionBase
- Namespace
- FlameCsv.Exceptions
- Assembly
- FlameCsv.Core.dll
Base class for exceptions thrown while reading CSV data.
public class CsvReadExceptionBase : Exception, ISerializable
- Inheritance
-
objectExceptionCsvReadExceptionBase
- Implements
- Derived
Constructors
CsvReadExceptionBase(string?, Exception?)
Base class for exceptions thrown while reading CSV data.
public CsvReadExceptionBase(string? message = null, Exception? innerException = null)
Parameters
messagestringinnerExceptionException
Properties
Line
1-based line index of where the invalid data was found, if available.
public int? Line { get; set; }
Property Value
- int?
RecordPosition
Approximate 0-based index where the invalid data was found, if available.
public long? RecordPosition { get; set; }
Property Value
- long?
RecordValue
Raw value of the record as a string, if available.
public string? RecordValue { get; set; }