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

std/csv/mod.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.220.1/csv/mod.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,
)

Constructs a new instance.

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