Blame view

node_modules/browserslist/error.js 306 Bytes
aaac7fed   liuqimichale   add
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