2024-08-20 23:25:37 +04:00

15 lines
242 B
JavaScript

"use strict";
class ESLintError extends Error {
/**
* @param {string=} messages
*/
constructor(messages) {
super(`[eslint] ${messages}`);
this.name = 'ESLintError';
this.stack = '';
}
}
module.exports = ESLintError;