0
Fork 0
mirror of https://github.com/TanStack/ai.git synced 2026-11-18 19:34:58 +00:00
ai/docs/reference/interfaces/ErrorInfo.md
github-actions[bot] 273a212bcc
docs: regenerate API documentation (#1265)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-08-31 18:34:13 +02:00

779 B

id title
ErrorInfo ErrorInfo

Interface: ErrorInfo

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

Information passed to onError.

Properties

duration

duration: number;

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

Duration until error in milliseconds


error

error: unknown;

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

The error that caused the failure