std/encoding/csv.ts

Deno standard library
Go to Latest
class ParseError
extends SyntaxError
import { ParseError } from "https://deno.land/std@0.145.0/encoding/csv.ts?s=ParseError";

A ParseError is returned for parsing errors. Line numbers are 1-indexed and columns are 0-indexed.

Constructors

new
ParseError(
start: number,
line: number,
column: number | null,
message: string,
)
[src]

Properties

column: number | null[src]

Column (rune index) where the error occurred

line: number[src]

Line where the error occurred

startLine: number[src]

Line where the record starts

import ParseError
import { ParseError } from "https://deno.land/std@0.145.0/encoding/csv.ts?s=ParseError";