(kind: "Syntax" | "RecordSize", message: string)
| 229 | } |
| 230 | |
| 231 | fail(kind: "Syntax" | "RecordSize", message: string): CsvError { |
| 232 | return new CsvError({ |
| 233 | kind, |
| 234 | message, |
| 235 | record: this.record, |
| 236 | line: this.recordLine, |
| 237 | column: kind === "Syntax" ? this.cells.length + 1 : undefined |
| 238 | }) |
| 239 | } |
| 240 | |
| 241 | checkSize(size: number): void { |
| 242 | if (size > this.maxRecordSize) { |
no outgoing calls
no test coverage detected