{"version":"2.1.335","anchor":"plugin-install-errors-carry-a-validation-category-hooks-fil","canonical_anchor":"plugin-install-errors-carry-a-validation-category-hooks-fil","heading":"Plugin command errors are tagged as validation or network failures","tier":"internal","area":"Plugins","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335\/e\/plugin-install-errors-carry-a-validation-category-hooks-fil","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335","markdown":"### Plugin command errors are tagged as validation or network failures\n\nPlugin command errors now carry pluginCommandErrorCategory set to validation or network, and hooks files go through a normaliser\n\n**Unclear.** What the extra step applied to hooks.json and settings.json changes about how those files are read is not known.\n\n**What**\n\nPlugins add commands and features to Claude Code. When a plugin command fails, the error now says what kind of failure it was.\n\n- A failed plugin install now carries `pluginCommandErrorCategory: \"validation\"`. Before, a plain error was thrown.\n\n- An error that matches a network pattern now carries `pluginCommandErrorCategory: \"network\"`.\n\n- `hooks.json` and `settings.json` are now passed through a new transform before they are read.\n\n**Why**\n\nNetwork problems can now be told apart from invalid plugins when a plugin command fails.\n\n- Area: Plugins\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}