Class

JsonValidationError

JsonValidationError(csvData, originalError)

JSON validation errors. Thrown when parsed CSV data cannot be converted to valid JSON.

Constructor

# new JsonValidationError(csvData, originalError)

Create a JSON validation error

Parameters:
Name Type Description
csvData string

The CSV data that failed validation

originalError Error

The underlying JSON parsing error

View Source src/core/errors.js, line 243

Extends

Methods

# toString() → {string}

Convert error to formatted string with context information

Overrides:

View Source src/core/errors.js, line 28

Formatted error message including context

string