VBC-013: empty-catch
errorCategory: core
Analysis: AST
Tags: robustness
What it reports
Empty catch block detected at line {line}. Swallowing errors makes debugging impossible.
Flagged
ts
try { risky(); } catch (error) {}Not flagged
ts
try { risky(); } catch (error) { report(error); }ts
try { risky(); } catch (error) { /* nothing to do here */ }AST check
- Type:
empty-catch