Domain Error Strategy Layer 2: Design Choices Core Question Who needs to handle this error, and how should they recover? Before designing error types: - Is this user-facing or internal? - Is recovery possible? - What context is needed for debugging? --- Error Categorization | Error Type | Audience | Recovery | Example | |------------|----------|----------|---------| | User-facing | End users | Guide action | , | | Internal | Developers | Debug info | , | | System | Ops/SRE | Monitor/alert | , | | Transient | Automation | Retry | , | | Permanent | Human | Investigate | , | --- Thinking Prompt…