Skip to content

Class: IngestionFailedError

@kortexya/reasoninglayer


@kortexya/reasoninglayer / IngestionFailedError

Class: IngestionFailedError

Defined in: src/resources/ingestion-session.ts:22

Error thrown when an async ingestion session fails on the backend.

Remarks

Detected during polling when the session status transitions to "failed".

Extends

Constructors

Constructor

new IngestionFailedError(session): IngestionFailedError

Defined in: src/resources/ingestion-session.ts:31

Parameters

session

IngestionSessionResponse

Returns

IngestionFailedError

Overrides

ReasoningLayerError.constructor

Properties

cause?

optional cause: unknown

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts:26

Inherited from

ReasoningLayerError.cause


message

message: string

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1077

Inherited from

ReasoningLayerError.message


name

name: string = 'IngestionFailedError'

Defined in: src/resources/ingestion-session.ts:23

Overrides

ReasoningLayerError.name


session

readonly session: IngestionSessionResponse

Defined in: src/resources/ingestion-session.ts:29

The last known session state.


sessionId

readonly sessionId: string

Defined in: src/resources/ingestion-session.ts:26

The session ID that failed.


stack?

optional stack: string

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1078

Inherited from

ReasoningLayerError.stack