Class CsvFormatException
- Namespace
- FlameCsv.Exceptions
- Assembly
- FlameCsv.Core.dll
Represents unrecoverable format errors in the CSV, such as uneven string delimiters.
This exception is not handled by ExceptionHandler.
public sealed class CsvFormatException : Exception, ISerializable
- Inheritance
-
CsvFormatException
- Implements
Remarks
Initializes an exception representing invalid CSV format.
Constructors
CsvFormatException(string?, Exception?)
Represents unrecoverable format errors in the CSV, such as uneven string delimiters.
This exception is not handled by ExceptionHandler.
public CsvFormatException(string? message = null, Exception? innerException = null)
Parameters
Remarks
Initializes an exception representing invalid CSV format.
Properties
Line
1-based line index of where the invalid data was found.
public int? Line { get; }
Property Value
- int?
Position
Approximate 0-based index where the invalid data was found.
public long? Position { get; }
Property Value
- long?