error-handling - Centralized error handling system
Centralized error handling using AppError class, error codes, and reporting for StepLeague
Tags
Updated: 2026-03-23Capabilities
Typical Inputs
Typical Outputs
What this skill does
- throw errors
- catch exceptions
- normalize errors
- report errors
- create error from response
- display error messages
- add error codes
Inputs
- error objects
- API responses
- error context
- error code
Outputs
- AppError objects
- error messages
- user-friendly messages
- toast notifications
- error logs
Requirements
- TypeScript
- StepLeague project
- src/lib/errors.ts
