Skip to content

fix(swap): name the networks when the exchange rejects a swap - #2684

Merged
ethicnology merged 1 commit into
mainfrom
fix/swap-route-unavailable-message
Aug 17, 2026
Merged

fix(swap): name the networks when the exchange rejects a swap#2684
ethicnology merged 1 commit into
mainfrom
fix/swap-route-unavailable-message

Conversation

@ethicnology

Copy link
Copy Markdown
Member

The exchange rejects some routes with ERR_ORD_PO404, which surfaced as a generic error and sent users to support instead of telling them what was refused. Adds the shared PaymentNetwork primitive in lib/core/primitives so the send and receive failure families can name both networks without depending on swap's internal types.

The exchange rejects some routes with ERR_ORD_PO404, which surfaced as a generic error and sent users to support instead of telling them what was refused.
Adds the shared PaymentNetwork primitive in lib/core/primitives so the send and receive failure families can name both networks without depending on swap's internal types.
@ethicnology ethicnology self-assigned this Aug 17, 2026

@ethicnology ethicnology left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@wired-pasteque

Copy link
Copy Markdown
Collaborator

@ethicnology, checked against an unsupported route, which now returns a specific message instead of a generic error.

Simulator Screenshot - iPhone 17e - 2026-08-17 at 15 35 04

@ethicnology
ethicnology merged commit 2669304 into main Aug 17, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants