Type Alias: DocumentAnalysisErrorCode
@kortexya/reasoninglayer / DocumentAnalysisErrorCode
Type Alias: DocumentAnalysisErrorCode
Section titled “Type Alias: DocumentAnalysisErrorCode”DocumentAnalysisErrorCode =
"llm_answer_unparseable"
Defined in: src/types/documents.ts:80
The code of the 502 that POST /api/v1/documents/analyze answers.
Remarks
Section titled “Remarks”llm_answer_unparseable — the LLM answered an analysis step with no
readable JSON. The fault is upstream of the engine, so a retry can succeed.
Read the code with errorBodyCode(error) from an InternalServerError.
Example
Section titled “Example”const code: DocumentAnalysisErrorCode = 'llm_answer_unparseable';