Initial commit

This commit is contained in:
Luis Fernando Molina committed 2018-02-10 11:53:55 +01:00
commit 4624b497cd
1281 files changed
+223863

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
'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;