Newer
Older
alert / js / node_modules / browserslist / error.js
@Réz István Réz István on 18 Nov 2021 300 bytes first commit
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