Type Alias: DlqRetryErrorCode
@kortexya/reasoninglayer / DlqRetryErrorCode
Type Alias: DlqRetryErrorCode
Section titled “Type Alias: DlqRetryErrorCode”DlqRetryErrorCode =
"dlq_entry_not_pending"|"dlq_retries_exhausted"|"dlq_document_in_flight"|"dlq_source_not_retained"
Defined in: src/types/ingestion.ts:1874
The code of a 409 refusal of POST /api/v1/ingest/dlq/{id}/retry.
Remarks
Section titled “Remarks”'dlq_entry_not_pending'— the entry is notpending(already retrying, succeeded or abandoned).'dlq_retries_exhausted'— the entry used up itsmax_retries.'dlq_document_in_flight'— the entry’s document is being ingested now.'dlq_source_not_retained'— the engine no longer holds the document’s ingestion task, so it cannot re-run it.
Read it with errorBodyCode(error) on the thrown ConstraintViolationError.
Example
Section titled “Example”const code: DlqRetryErrorCode = 'dlq_retries_exhausted';