Last change
on this file since b738035 was e29cc2e, checked in by Ema <ema_spirova@…>, 3 years ago |
primeNG components
|
-
Property mode
set to
100644
|
File size:
254 bytes
|
Rev | Line | |
---|
[6a3a178] | 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
|
---|
Note:
See
TracBrowser
for help on using the repository browser.