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

std/csv/parse.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 SyntaxError
Re-export
import { ParseError } from "https://deno.land/std@0.209.0/csv/parse.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