API reference
RunErrorDetail
Structured error attached to a RunResult when the underlying run
RunErrorDetail
Auto-generated from TypeDoc on each build. Edit the JSDoc in packages/sdk/src/ to change this page.
Structured error attached to a RunResult when the underlying run
transitioned to "error" status. message is always present; code is
a stable identifier suitable for branching (e.g. "llm_4xx",
"tool_dispatch_failed", "mcp_init_failed"); cause is the raw error
for further inspection when available.
Signature
interface RunErrorDetail { /* ... */ }Kind
interface