Skip to main content

Module codes

Module codes 

Source
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: cdc exports 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 than full (chunked / incremental / keyset / time-window / cdc all need SQL).
SOURCE_STATEMENT_TIMEOUT