Expand description
Stable, greppable error codes carried by CodedError. A scheduler / CI step
matches on these (the JSON code field or the [CODE] text prefix) instead
of the human wording, which is free to change. Every code shares the
RIVET_CONFIG_ or RIVET_SOURCE_ prefix; the codes_* guard tests assert
distinctness + the prefix, mirroring the verify-layer RIVET_VERIFY_* guard.
Constantsยง
- CONFIG_
CDC_ RESOURCE_ CONFLICT - Two
mode: cdcexports resolved to the same per-engine stream resource (PostgreSQL slot / MySQL server_id / checkpoint path) โ including the defaults colliding, which is what a naive multi-table CDC config hits. - CONFIG_
CHUNK_ BY_ DAYS_ INVALID - CONFIG_
CHUNK_ COUNT_ INVALID - CONFIG_
DUPLICATE_ EXPORT - CONFIG_
NO_ EXPORTS - CONFIG_
SOURCE_ MODE_ UNSUPPORTED - An export mode is not supported by the configured source type โ today
this is a non-SQL source (MongoDB) with any
mode:other thanfull(chunked / incremental / keyset / time-window / cdc all need SQL). - SOURCE_
STATEMENT_ TIMEOUT