1 | function BrowserslistError(message) {
|
2 | this.name = 'BrowserslistError'
|
3 | this.message = message
|
4 | this.browserslist = true
|
5 | if (Error.captureStackTrace) {
|
6 | Error.captureStackTrace(this, BrowserslistError)
|
7 | }
|
8 | }
|
9 |
|
10 | BrowserslistError.prototype = Error.prototype
|
11 |
|
12 | module.exports = BrowserslistError
|