mirror of
https://github.com/actions/setup-java.git
synced 2025-07-01 05:14:17 +00:00
Fix.
This commit is contained in:
parent
596a6da241
commit
c1a589c5b6
7078 changed files with 1882834 additions and 319 deletions
17
node_modules/har-validator/lib/error.js
generated
vendored
Normal file
17
node_modules/har-validator/lib/error.js
generated
vendored
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue