Skip to main content
Every error thrown or returned by the SDK has a typed code and a human-readable message. Switch on code; show message only as a debug aid (don’t display verbatim to end users).

Validation errors

Returned by intent.build() and intent.submit() when input is malformed.

Liquidity errors

Returned by intent.submit() and surfaced in failed status events.

Rate limiting

There is no API key, so no auth errors. Signature-protected endpoints (recipient flows, settle) reject per-request signatures with 400 and a specific message.

Network errors

Settlement errors

Surfaced in failed status events. None of these result in lost funds, the user is automatically refunded via the on-chain escape mechanism.

Recipient / sweep errors

Handling pattern

Rate limits

Platform throughput limits.