👁 View: yerror.js
Path: /home/thiqat5/sb.thiqatech.com/node_modules/webpack-cli/node_modules/yargs/lib/yerror.js
Size: 254 B · Modified: 1985-10-26 12:15:00 · Perm: 0644 · Writable
'use strict'
function YError (msg) {
  this.name = 'YError'
  this.message = msg || 'yargs error'
  Error.captureStackTrace(this, YError)
}

YError.prototype = Object.create(Error.prototype)
YError.prototype.constructor = YError

module.exports = YError