Skip to content
AI & AgentsPro

Run Error

A failed run: which step threw, how many attempts are left, retry or resume.

Usage

Installation

bash
npm install @wunderui/react

Then import what you need:

tsx
import { RunError } from "@wunderui/react"

Examples

Detail collapsed

The stack trace stays behind “Show error detail” until someone opens it.

In 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

Send 12 emails

High risk

Templated follow-up to at-risk customers.

1 min ago

API Reference

PropTypeDefault
messageReactNode—
failedStepReactNode—
attempt / maxAttemptsnumber—
detailstring—
detailLanguagestring"text"
onRetry / onRetryFrom / onCancel() => void—