Skip to main content
Module

std/encoding/csv.ts>ParseError

Deno standard library
Go to Latest
class ParseError
extends Error
import { ParseError } from "https://deno.land/std@0.124.0/encoding/csv.ts";

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,
)

Properties

column: number | null

Column (rune index) where the error occurred

line: number

Line where the error occurred

startLine: number

Line where the record starts