Type Alias: AttributeExplorationErrorCode
@kortexya/reasoninglayer / AttributeExplorationErrorCode
Type Alias: AttributeExplorationErrorCode
Section titled “Type Alias: AttributeExplorationErrorCode”AttributeExplorationErrorCode =
"exploration_question_not_pending"
Defined in: src/types/analysis.ts:388
A coded refusal of the attribute-exploration routes, read with
errorBodyCode.
Remarks
Section titled “Remarks”exploration_question_not_pending(409) — the confirm or refute named a question that is not the session’s pending one: a replay, a stale id, or an id sent after the exploration completed. Nothing was applied. Re-read the pending question withgetExplorationStatus.
The error is thrown as a ConstraintViolationError (the SDK maps every
409 to it); branch on the code, not on the class name.
Example
Section titled “Example”const code: AttributeExplorationErrorCode = 'exploration_question_not_pending';