hexo/node_modules/browserslist/error.js

13 lines
311 B
JavaScript
Raw Normal View History

2023-10-03 11:14:36 +08:00
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