Reassignment of catch binding
The catch clause parameter is assigned or updated after it is bound.
#Metadata
#Why it matters
Catch bindings are immutable in strict mode and confusing in sloppy mode; reassignment usually indicates a mistaken mutation of the caught error.
#Remediation
Introduce a separate variable for any transformed error value and leave the catch parameter read-only.
#Repository path
The generated metadata points to critiq-rules/libs/rules/catalog/rules/typescript/ts.correctness.reassign-catch-binding.rule.yaml.