aboutsummaryrefslogtreecommitdiff
path: root/node_modules/browserslist/error.js
blob: 6e5da7a823f4af93000b3a6798de0c31cec26340 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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