✅ This rule is part of the recommended config.
🔧 This rule is auto-fixable.
If the catch
binding parameter is not used, it should be omitted.
try {} catch (notUsedError) {}
try {} catch ({message}) {}
try {} catch {}
try {} catch (error) {
console.error(error);
}