source:
frontend/node_modules/eslint-webpack-plugin/dist/ESLintError.js
| Last change on this file was 9af201e, checked in by , 2 weeks ago | |
|---|---|
|
|
| File size: 242 bytes | |
| Rev | Line | |
|---|---|---|
| [9af201e] | 1 | "use strict"; |
| 2 | ||
| 3 | class ESLintError extends Error { | |
| 4 | /** | |
| 5 | * @param {string=} messages | |
| 6 | */ | |
| 7 | constructor(messages) { | |
| 8 | super(`[eslint] ${messages}`); | |
| 9 | this.name = 'ESLintError'; | |
| 10 | this.stack = ''; | |
| 11 | } | |
| 12 | ||
| 13 | } | |
| 14 | ||
| 15 | module.exports = ESLintError; |
Note:
See TracBrowser
for help on using the repository browser.
