All Downloads are FREE. Search and download functionalities are using the official Maven repository.

node_modules.yargs.lib.yerror.js Maven / Gradle / Ivy

The newest version!
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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy