diff options
Diffstat (limited to 'node_modules/ajv/lib/compile/validation_error.js')
-rw-r--r-- | node_modules/ajv/lib/compile/validation_error.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/node_modules/ajv/lib/compile/validation_error.js b/node_modules/ajv/lib/compile/validation_error.js deleted file mode 100644 index 3c5c59478..000000000 --- a/node_modules/ajv/lib/compile/validation_error.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -module.exports = ValidationError; - - -function ValidationError(errors) { - this.message = 'validation failed'; - this.errors = errors; - this.ajv = this.validation = true; -} - - -ValidationError.prototype = Object.create(Error.prototype); -ValidationError.prototype.constructor = ValidationError; |