Error Handling
v1.0.0
Reviews error handling patterns — error boundaries, structured logging, graceful degradation, and user-facing error communication. Silent failures and swallowed exceptions are the leading cause of "it works on my machine" bugs that only surface in production.
Quality(2)
Use Error Boundaries
Wrap UI sections in React Error Boundaries to catch rendering errors gracefully. Without error boundaries, a single component crash (a null reference, a failed API parse) takes down the entire page — showing users a white screen with no way to recover or navigate away.
Automate Error Handling checks on every PR
BeforeMerge scans your pull requests against all 2 Error Handling rules automatically. Get actionable feedback before code ships.