diff options
Diffstat (limited to 'node_modules/yargs/lib/yerror.js')
-rw-r--r-- | node_modules/yargs/lib/yerror.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/node_modules/yargs/lib/yerror.js b/node_modules/yargs/lib/yerror.js deleted file mode 100644 index 53375a0..0000000 --- a/node_modules/yargs/lib/yerror.js +++ /dev/null @@ -1,11 +0,0 @@ -'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 |