Skip to main content
Module

std/csv/mod.ts>ParseError

The Deno Standard Library
Latest
class ParseError
extends SyntaxError
Re-export
import { ParseError } from "https://deno.land/std@0.223.0/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