Skip to content

Frontend error handling and user feedback #574

Description

@codebestia

Write apps/web/docs/concepts-error-handling.md: how API failures, socket errors, wallet rejections and decryption failures reach the user. Covers lib/useToast.ts, per-route error states, and the socket error event handling.

Acceptance criteria:

  • Documents the toast API and when to use it versus inline error state
  • Maps backend error responses onto user-facing messages, cross-linking the backend error catalog
  • Documents the rule that a decryption failure must never be shown as a generic crash — it has a specific, non-alarming presentation
  • Documents retry and offline behaviour, including what happens to an optimistic message when the send ultimately fails

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programdocumentationImprovements or additions to documentationfrontend

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions