0
Fork 0
mirror of https://github.com/TanStack/ai.git synced 2026-11-18 19:34:58 +00:00
ai/docs/reference/interfaces/GenerationErrorInfo.md
github-actions[bot] 5701bf5184
docs: regenerate API documentation (#1141)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-08-18 19:53:35 +02:00

861 B

id title
GenerationErrorInfo GenerationErrorInfo

Interface: GenerationErrorInfo

Defined in: packages/ai/src/activities/middleware/types.ts:151

Information passed to GenerationMiddleware.onError.

Properties

duration

duration: number;

Defined in: packages/ai/src/activities/middleware/types.ts:155

Wall-clock duration until the failure, in milliseconds.


error

error: unknown;

Defined in: packages/ai/src/activities/middleware/types.ts:153

The thrown value (typically an Error).