# Prefer omitting the `catch` binding parameter 💼 This rule is enabled in the ✅ `recommended` [config](https://github.com/sindresorhus/eslint-plugin-unicorn#preset-configs). 🔧 This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix). If the `catch` binding parameter is not used, it should be omitted. ## Fail ```js try {} catch (notUsedError) {} ``` ```js try {} catch ({message}) {} ``` ## Pass ```js try {} catch {} ``` ```js try {} catch (error) { console.error(error); } ```