UNPKG

tynder

Version:

TypeScript friendly Data validator for JavaScript.

15 lines 445 B
"use strict"; // Copyright (c) 2019 Shellyl_N and Authors // license: ISC // https://github.com/shellyln Object.defineProperty(exports, "__esModule", { value: true }); exports.ValidationError = void 0; class ValidationError extends Error { constructor(message, ty, ctx) { super(message); this.ty = ty; this.ctx = ctx; } } exports.ValidationError = ValidationError; //# sourceMappingURL=errors.js.map