3 Object.defineProperty(exports, "__esModule", {
6 exports.default = HARError;
7 function HARError(errors) {
8 var message = 'validation failed';
10 this.name = 'HARError';
11 this.message = message;
14 if (typeof Error.captureStackTrace === 'function') {
15 Error.captureStackTrace(this, this.constructor);
17 this.stack = new Error(message).stack;
21 HARError.prototype = Error.prototype;
22 module.exports = exports['default'];