CSVError.d.ts
467 Bytes
export default class CSVError extends Error {
err: string;
line: number;
extra: string | undefined;
static column_mismatched(index: number, extra?: string): CSVError;
static unclosed_quote(index: number, extra?: string): CSVError;
static fromJSON(obj: any): CSVError;
constructor(err: string, line: number, extra?: string | undefined);
toJSON(): {
err: string;
line: number;
extra: string | undefined;
};
}