Error Handling Skill
Expert structured error handling for FastAPI backends and React/Next.js frontends with consistent error messages and logging.
Quick Reference
| Pattern | Backend | Frontend | |---------|---------|----------| | Custom exception | class FeeNotPaidError(AppException) | N/A | | Try-catch | try: ... except SpecificError: | try { } catch (e) { } | | Global handler | @app.exception_handler | ErrorBoundary component | | User message | detail field in response | T
[Description truncada. Veja o README completo no GitHub.]