This commit is contained in:
Stephen Franceschelli
2019-07-15 13:46:13 -04:00
parent 574f83ab4c
commit 70039febf8
7043 changed files with 0 additions and 1866383 deletions

View File

@@ -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