Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/encoding/csv.ts>ParseError

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
class ParseError
extends Error
import { ParseError } from "https://deno.land/std@0.72.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