error.js 299 B

12345678910111213
  1. function BrowserslistError(message) {
  2. this.name = 'BrowserslistError'
  3. this.message = message
  4. this.browserslist = true
  5. if (Error.captureStackTrace) {
  6. Error.captureStackTrace(this, BrowserslistError)
  7. }
  8. }
  9. BrowserslistError.prototype = Error.prototype
  10. module.exports = BrowserslistError