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
|
Rev | Line | |
---|
[6a3a178] | 1 | "use strict";
|
---|
| 2 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
| 3 | class ValidationError extends Error {
|
---|
| 4 | constructor(errors) {
|
---|
| 5 | super("validation failed");
|
---|
| 6 | this.errors = errors;
|
---|
| 7 | this.ajv = this.validation = true;
|
---|
| 8 | }
|
---|
| 9 | }
|
---|
| 10 | exports.default = ValidationError;
|
---|
| 11 | //# sourceMappingURL=validation_error.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.