UNPKG

voyageai

Version:

[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2Fvoyage-ai%2Ftypescript-sdk) [![npm shield](

13 lines (12 loc) 463 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ParseError = void 0; const stringifyValidationErrors_1 = require("./stringifyValidationErrors"); class ParseError extends Error { constructor(errors) { super(errors.map(stringifyValidationErrors_1.stringifyValidationError).join("; ")); this.errors = errors; Object.setPrototypeOf(this, ParseError.prototype); } } exports.ParseError = ParseError;