source: trip-planner-front/node_modules/ajv/dist/runtime/validation_error.js

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 337 bytes
RevLine 
[6a3a178]1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3class ValidationError extends Error {
4 constructor(errors) {
5 super("validation failed");
6 this.errors = errors;
7 this.ajv = this.validation = true;
8 }
9}
10exports.default = ValidationError;
11//# sourceMappingURL=validation_error.js.map
Note: See TracBrowser for help on using the repository browser.