Claude
8632c98725
refactor(errors): defer mutation errors to global handler
Now that MutationCache toasts via toUserMessage by default, the per-hook
onError duplicates drop away. Also normalizes inline query-error UI and
surfaces a previously-silent failure.
Mutations — removed redundant onError toasts:
- network-selector: useAcceptInvitation, createNetwork (inline)
- network-settings: useInviteMembers, useRevokeInvitation, useRemoveMember
- network-billing: useCreateCheckoutSession, useCreatePortalSession
(onSuccess toasts stay — they carry domain context like network name)
Queries — consistent inline error UX via toUserMessage:
- network-selector: failed-to-load state gets a "Try again" button
- network-billing: "Couldn't load billing" includes friendly reason
- network-settings: useNetworkInvitations failure now surfaces a hint
(previously rendered as "0 pending" — silently wrong)
Trimmed noisy JSDoc from PR 1 files (errors.ts, query-client.ts,
app-error-boundary.tsx, error-fallback.tsx, ipc-utils.ts).
2026-04-17 02:52:45 +00:00
..
2026-03-21 18:06:58 -07:00
2026-04-17 02:52:45 +00:00
2026-03-21 15:31:29 -07:00
2026-02-19 19:41:26 -08:00
2026-02-19 19:41:26 -08:00
2026-04-15 13:32:53 -07:00
2026-02-19 19:41:26 -08:00
2026-03-25 15:54:05 -07:00
2026-04-16 23:29:36 +00:00
2026-04-15 12:41:36 -07:00
2026-02-19 19:41:26 -08:00
2026-04-13 10:03:23 -07:00
2026-04-13 10:03:23 -07:00
2026-04-13 10:03:23 -07:00
2026-04-13 10:03:23 -07:00
2026-04-13 10:03:23 -07:00
2026-04-13 10:03:23 -07:00
2026-04-13 10:03:23 -07:00
2026-04-16 23:29:36 +00:00