WME/aufgabe5/node_modules/csvtojson/v2/CSVError.d.ts

15 lines
467 B
TypeScript
Raw Normal View History

2019-01-09 11:25:28 +00:00
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;
};
}