mirror of
https://github.com/actions/setup-python.git
synced 2026-11-01 21:01:00 +00:00
Initial pass
This commit is contained in:
commit
39c08a0eaa
7242 files changed
+1886006
No files matched your search
+17
@@ -0,0 +1,17 @@
|
||||
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
|
||||
Reference in new issue
Block a user