Type Alias: DemoSeedErrorCode
@kortexya/reasoninglayer / DemoSeedErrorCode
Type Alias: DemoSeedErrorCode
Section titled “Type Alias: DemoSeedErrorCode”DemoSeedErrorCode =
"demo_corpus_unavailable"
Defined in: src/types/demo.ts:38
The code of the coded refusal that POST /api/v1/demo/seed answers
when the deployment’s SUMO source files cannot be read (404). The
answer names no server path.
Remarks
Section titled “Remarks”Read it with errorBodyCode(error).
Example
Section titled “Example”const code: DemoSeedErrorCode = 'demo_corpus_unavailable';