Skip to content

ErrorBoundaryCard

stable

Containment unit for agent errors — severity-coded card with recovery actions

Human-in-the-Loop/Storybook ↗
import { ErrorBoundaryCard } from "@danagraph/design-system/patterns"
Loading demo…

Props

titlerequired
Type stringDefault —

Short error title.

messagerequired
Type stringDefault —

Human-readable explanation of what failed.

sourcerequired
Type stringDefault —

Agent or system that produced the error.

timestamprequired
Type stringDefault —

ISO timestamp or display string.

severityrequired
Type 'fatal' | 'recoverable' | 'transient'Default —

Controls border and accent color.

code
Type stringDefault —

Optional error code or trace ID.

detail
Type stringDefault —

Raw technical detail in collapsible pre block.

actions
Type ErrorAction[]Default []

Recovery actions with label, variant, and onClick.

semantictypebordersurfaceoutcome
Design Rationale

This component was designed to express:

Explore Related

Was this helpful?