Skip to content

Type Alias: ReExtractErrorCode

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ReExtractErrorCode

ReExtractErrorCode = "document_source_not_retained"

Defined in: src/types/reviews.ts:175

The code of a 409 refusal of POST /api/v1/reviews/re-extract.

'document_source_not_retained' — the engine holds no source of the document to re-extract. Read it with errorBodyCode(error) on the thrown ConstraintViolationError.

const code: ReExtractErrorCode = 'document_source_not_retained';