Version 1
[yaffs-website] / node_modules / phantomjs-prebuilt / node_modules / har-validator / lib / error.js
diff --git a/node_modules/phantomjs-prebuilt/node_modules/har-validator/lib/error.js b/node_modules/phantomjs-prebuilt/node_modules/har-validator/lib/error.js
new file mode 100644 (file)
index 0000000..fc08a87
--- /dev/null
@@ -0,0 +1,10 @@
+'use strict'
+
+function ValidationError (errors) {
+  this.name = 'ValidationError'
+  this.errors = errors
+}
+
+ValidationError.prototype = Error.prototype
+
+module.exports = ValidationError