AI & Agents
Run Error
A failed run: which step threw, how many attempts are left, retry or resume.
Usage
The invoice API refused the request
Failed at
fetch_invoices· Attempt 2 of 3Installation
npm install @wunderui/reactThen import what you need:
import { RunError } from "@wunderui/react"Examples
Detail collapsed
The stack trace stays behind “Show error detail” until someone opens it.
Vertical tabs: arrow keys don't move focus
Failed at
test.run· Attempt 1 of 3In context
How the component is used inside real screens — the same compositions as the Usage section of the Figma page.
Budget & recovery
Spend, a failed run and an approval request side by side.
Spend today
$10 budget
$8.60
86% usedNearly spent
Rate limit exceeded.
Failed at
Draft the follow-up email· Attempt 2 of 3Send 12 emails
High riskTemplated follow-up to at-risk customers.
1 min ago
API Reference
| Prop | Type | Default |
|---|---|---|
| message | ReactNode | — |
| failedStep | ReactNode | — |
| attempt / maxAttempts | number | — |
| detail | string | — |
| detailLanguage | string | "text" |
| onRetry / onRetryFrom / onCancel | () => void | — |