15 lines
467 B
TypeScript
15 lines
467 B
TypeScript
|
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;
|
||
|
};
|
||
|
}
|