IncompleteCellException

Exception thrown when a Token is identified to not be completed: a quote is found in an unquoted field, data continues after a closing quote, or the quoted field was not closed before data was empty.

class IncompleteCellException : CSVException {}

Members

Variables

partialData
dstring partialData;

Data pulled from input before finding a problem

Mixed In Members

From mixin basicExceptionCtors

this
this(string msg, string file, size_t line, Throwable next)
this
this(string msg, Throwable next, string file, size_t line)

Inherited Members

From CSVException

row
size_t row;
col
size_t col;

Examples

import std.exception : assertThrown;
string text = "a,\"b,c\nHello,65,2.5";
assertThrown!IncompleteCellException(text.csvReader(["a","b","c"]));

Meta