Skip to content

Type Alias: AttributeExplorationErrorCode

@kortexya/reasoninglayer


@kortexya/reasoninglayer / AttributeExplorationErrorCode

AttributeExplorationErrorCode = "exploration_question_not_pending"

Defined in: src/types/analysis.ts:388

A coded refusal of the attribute-exploration routes, read with errorBodyCode.

  • 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 with getExplorationStatus.

The error is thrown as a ConstraintViolationError (the SDK maps every 409 to it); branch on the code, not on the class name.

const code: AttributeExplorationErrorCode = 'exploration_question_not_pending';