diff --git a/packages/eslint-plugin/onlyHardhatErrorRule.js b/packages/eslint-plugin/onlyHardhatErrorRule.js index 188bfe2940..e6aa912980 100644 --- a/packages/eslint-plugin/onlyHardhatErrorRule.js +++ b/packages/eslint-plugin/onlyHardhatErrorRule.js @@ -33,7 +33,7 @@ function onlyHardhatPluginErrorRule(context) { context.report({ node, - message: `Only HardhatError must be thrown, ${exceptionName} found.`, + message: `Only HardhatPluginError must be thrown, ${exceptionName} found.`, }); } },