What problem does it solve?
It standardizes how applications capture, sanitize, and report exceptions and messages to an error-tracking service, preventing silent failures and reducing the risk of leaking PII.
Core Features & Use Cases
- Centralized wrapper API: Use a small set of functions (e.g., reportError/reportMessage/addBreadcrumb/setUser) so app code never imports the tracker SDK directly.
- PII sanitization chokepoint: Enforce a sanitizePII pass on every outbound payload before any external send, including breadcrumbs and extra context.
- Environment-aware gating: Route reporting to a local logger in non-production and to the tracker in production-equivalent environments.
- Layered coverage across surfaces: Ensure reporting from component boundaries, route-level fallbacks, application-global handlers, and manual/non-UI capture paths.
- Verification discipline: Audit that each layer truly calls the wrapper (and not only logs), so the tracker actually receives events.
Quick Start
Use this skill to design a centralized error reporting wrapper that sanitizes PII and reliably reports from component, route, global, and manual error capture paths in your application.