fediversity.eu/node_modules/browserslist/error.js
2024-03-26 16:28:28 +01:00

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