Simon Priet 9e2991e668 init
2021-09-05 22:53:58 +02:00

13 lines
300 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