11 lines
337 B
JavaScript
11 lines
337 B
JavaScript
|
"use strict";
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
class ValidationError extends Error {
|
||
|
constructor(errors) {
|
||
|
super("validation failed");
|
||
|
this.errors = errors;
|
||
|
this.ajv = this.validation = true;
|
||
|
}
|
||
|
}
|
||
|
exports.default = ValidationError;
|
||
|
//# sourceMappingURL=validation_error.js.map
|