Type Alias TabularImportError
type TabularImportError = {
field?: string;
fieldHeader?: string;
message: string;
row: number;
type:
| "ambiguous-column"
| "missing-data"
| "missing-column"
| "invalid-data"
| "too-many-errors";
}
field?: string;
fieldHeader?: string;
message: string;
row: number;
type:
| "ambiguous-column"
| "missing-data"
| "missing-column"
| "invalid-data"
| "too-many-errors";
}
Structured error returned by the parser when input cannot be converted to rows.
typeis one of:rowis a 1-based row number (header row is row 1).fieldandfieldHeaderare set when the error relates to a specific configured field.