challenge-algorithms-v2.0-D.../node_modules/browserslist/error.js

13 lines
299 B
JavaScript
Raw Permalink Normal View History

2022-10-27 19:56:30 +00:00
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