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](

11 lines (10 loc) 356 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.stringifyValidationError = void 0; function stringifyValidationError(error) { if (error.path.length === 0) { return error.message; } return `${error.path.join(" -> ")}: ${error.message}`; } exports.stringifyValidationError = stringifyValidationError;