Skip to content

[Wave 6 15/15] Structured failure catalog for cross-chain order lifecycle #48

Description

@karagozemin

Stellar Wave #6 - Apply via the Stellar Wave Program on Drips. Use the Wave application flow. Maintainers review applicants on the Drips maintainer dashboard.
Wave window: 2026-06-23 09:00 UTC -> 2026-06-30 09:00 UTC.

Summary

Cross-chain order failures should use stable error codes so the coordinator, resolver, frontend, and docs can speak the same language.

Context

Relevant areas:

  • coordinator error responses
  • resolver errors
  • frontend status rendering
  • SDK types and docs

Scope

  • Define a small shared failure-code catalog for common lifecycle failures.
  • Map coordinator/resolver errors into those codes without hiding original details from logs.
  • Update frontend status rendering to use the codes for user-facing messages.
  • Add tests for at least five mapped failure cases.
  • Document the catalog and when each code is emitted.

Acceptance criteria

  • Common order lifecycle failures have stable machine-readable codes.
  • API responses keep safe details while logs retain debugging context.
  • Frontend renders useful messages from the catalog.
  • Tests cover at least five failure-code mappings.
  • PR links to this issue.

Wave complexity (maintainer)

High - 200 points

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions