Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
Class References
Function References
Interface References
Type Alias References
Variable References

RunErrorEvent

Interface: RunErrorEvent

Defined in: packages/typescript/ai/src/types.ts:840

Emitted when an error occurs during a run.

@ag-ui/core provides: message, code? TanStack AI adds: model?, error? (deprecated nested form)

Extends

  • RunErrorEvent

Indexable

ts
[k: string]: unknown
[k: string]: unknown

Properties

error?

ts
optional error: object;
optional error: object;

Defined in: packages/typescript/ai/src/types.ts:847

code?

ts
optional code: string;
optional code: string;

message

ts
message: string;
message: string;

Deprecated

Use top-level message and code fields instead. Kept for backward compatibility.


model?

ts
optional model: string;
optional model: string;

Defined in: packages/typescript/ai/src/types.ts:842

Model identifier for multi-model support