Interface: RefusedDocument
@kortexya/reasoninglayer / RefusedDocument
Interface: RefusedDocument
Section titled “Interface: RefusedDocument”Defined in: src/types/ingestion.ts:1852
A document of a batch that a bound constraint or a write refusal refused (reasoninglayer#1253). Nothing of it was committed, and the batch went on with the other documents.
Properties
Section titled “Properties”documentId?
Section titled “documentId?”
optionaldocumentId?:string
Defined in: src/types/ingestion.ts:1854
The caller’s id of the document, when it gave one.
error:
string
Defined in: src/types/ingestion.ts:1856
The refusal in words: the message of the document’s synchronous 409.
errorCode
Section titled “errorCode”errorCode:
SessionDocumentFailureCode
Defined in: src/types/ingestion.ts:1858
The typed reason, as a session document records it.
errorRefusal?
Section titled “errorRefusal?”
optionalerrorRefusal?:SessionDocumentRefusal
Defined in: src/types/ingestion.ts:1860
The refused term, its feature and its constraint, when a bound constraint refused it.