try with exec sh

This commit is contained in:
ibrahim0814
2019-11-13 23:41:15 -08:00
parent 7ba41fc0d6
commit db0171f588
1059 changed files with 237707 additions and 41 deletions

View File

@@ -0,0 +1,15 @@
module.exports = class HttpError extends Error {
constructor (message, code, headers) {
super(message)
// Maintains proper stack trace (only available on V8)
/* istanbul ignore next */
if (Error.captureStackTrace) {
Error.captureStackTrace(this, this.constructor)
}
this.name = 'HttpError'
this.code = code
this.headers = headers
}
}