UNPKG

oas-normalize

Version:

Tooling for converting, validating, and parsing OpenAPI, Swagger, and Postman API definitions

19 lines (14 loc) 425 B
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/lib/errors.ts var ValidationError = class extends Error { constructor(message, { errors, warnings } = {}) { super(message); this.name = "ValidationError"; this.errors = errors || []; this.warnings = warnings || []; } }; exports.ValidationError = ValidationError; //# sourceMappingURL=chunk-AKXTCPGM.cjs.map