forked from zhurui/management
13 lines
306 B
JavaScript
13 lines
306 B
JavaScript
function BrowserslistError (message) {
|
|
this.name = 'BrowserslistError'
|
|
this.message = message || ''
|
|
this.browserslist = true
|
|
if (Error.captureStackTrace) {
|
|
Error.captureStackTrace(this, BrowserslistError)
|
|
}
|
|
}
|
|
|
|
BrowserslistError.prototype = Error.prototype
|
|
|
|
module.exports = BrowserslistError
|