.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / yargs / lib / yerror.js
1 'use strict'
2 function YError (msg) {
3   this.name = 'YError'
4   this.message = msg || 'yargs error'
5   Error.captureStackTrace(this, YError)
6 }
7
8 YError.prototype = Object.create(Error.prototype)
9 YError.prototype.constructor = YError
10
11 module.exports = YError