You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
300 B

4 years ago
  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