Newer
Older
CVSS_3.0_GUI / node_modules / nwjs-builder-phoenix / node_modules / yargs / lib / yerror.js
root on 7 May 2019 241 bytes Initial commit
  1. function YError (msg) {
  2. this.name = 'YError'
  3. this.message = msg || 'yargs error'
  4. Error.captureStackTrace(this, YError)
  5. }
  6.  
  7. YError.prototype = Object.create(Error.prototype)
  8. YError.prototype.constructor = YError
  9.  
  10. module.exports = YError
Buy Me A Coffee