From 7d5a0696ccc642db0d14aae8677ecada40bf85d1 Mon Sep 17 00:00:00 2001 From: Arman Date: Thu, 2 Aug 2018 16:50:59 -0700 Subject: inital commit --- node_modules/har-validator/lib/error.js | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 node_modules/har-validator/lib/error.js (limited to 'node_modules/har-validator/lib/error.js') diff --git a/node_modules/har-validator/lib/error.js b/node_modules/har-validator/lib/error.js deleted file mode 100644 index f2618dc..0000000 --- a/node_modules/har-validator/lib/error.js +++ /dev/null @@ -1,17 +0,0 @@ -function HARError (errors) { - var 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 - -module.exports = HARError -- cgit v1.2.3