Files
upload-google-play/node_modules/har-validator/lib/error.js
Drew Heavner a29f8cd536 Finished action
Adding the monolith node_modules dir for deployment
2019-12-04 09:58:34 -05:00

18 lines
373 B
JavaScript

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