IAV-1417/refactor(agent-store): centralize error handling, fix subAgent bugs, expand error codes
What
- Replaced all inline error fallbacks with
handleStoreError()utility -
getUserUid()now triggers a snackbar and throws a typed sentinel (USER_UID_NOT_FOUND_IN_STORE) instead of a generic error - Expanded FR error dictionary: new codes for workflow rules, webhook, credentials, platform integrations (Shopify OAuth, WhatsApp, Instagram Pro), fake credentials, and widget domain
- Shifted all platform error ranges to avoid collisions
Closes IAV-1417