Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/request/node_modules/har-validator/lib/browser/error.js')
-rw-r--r--node_modules/request/node_modules/har-validator/lib/browser/error.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/node_modules/request/node_modules/har-validator/lib/browser/error.js b/node_modules/request/node_modules/har-validator/lib/browser/error.js
deleted file mode 100644
index f49fcf231..000000000
--- a/node_modules/request/node_modules/har-validator/lib/browser/error.js
+++ /dev/null
@@ -1,15 +0,0 @@
-export default function HARError(errors) {
- let message = 'validation failed';
-
- this.name = 'HARError';
- this.message = message;
- this.errors = errors;
-
- if (typeof Error.captureStackTrace === 'function') {
- Error.captureStackTrace(this, this.constructor);
- } else {
- this.stack = new Error(message).stack;
- }
-}
-
-HARError.prototype = Error.prototype; \ No newline at end of file