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

RunErrorEvent

Interface: RunErrorEvent

Defined in: packages/ai/src/types.ts:1000

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/ai/src/types.ts:1007

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/ai/src/types.ts:1002

Model identifier for multi-model support