error-handling
Installation
SKILL.md
Error Handling (Typed, Layered, Testable)
When to use
- Introducing a new network/storage flow.
- Handling backend error responses and mapping them to domain-level failures.
- Ensuring BLoC error states are consistent and user-safe.
Steps
1) Define explicit exception types
Keep them small and descriptive: