Error codes
Vluna uses stable machine-readable error codes for programmatic handling and support.
Source of truth
Error code definitions live in:
packages/contracts/error-codes.json
How to use error codes
In your integration:
- Branch on
code, not onmessage. - Treat messages as user-facing or operator-facing text only.
- Log the full envelope and
X-Request-Idwhen present.
Retry guidance (recommended)
Use the code metadata to drive retry decisions where available:
- never retry validation failures
- retry transient failures with backoff
- retry write timeouts via idempotency replays
Related
- HTTP status codes: HTTP and auth