aboutsummaryrefslogtreecommitdiff
path: root/node_modules/browserslist/error.js
blob: b3bc0fe94c69ecad7f1e7f736da5fc3557333f4d (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