frontend-error-handling - Frontend Error Handling Patterns for React
Provides error handling patterns for React applications including API interceptors, error boundaries, async handling, and Sentry tracking.
Tags
Updated: 2026-09-24Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Intercept API errors globally
- Catch component errors with error boundaries
- Handle async errors using try-catch
- Track production errors with Sentry
- Display user-friendly error messages
Inputs
- React components
- API request errors
- Sentry DSN configuration
Outputs
- User error notifications
- Fallback error UI
- Sentry error logs
Requirements
- React environment
- Axios HTTP client
- @sentry/react SDK
