ErrorBoundaryCard
stableContainment unit for agent errors — severity-coded card with recovery actions
import { ErrorBoundaryCard } from "@nodus/design-system/patterns"Loading demo…
Props
| Prop | Type | Default | Description |
|---|---|---|---|
titlereq | string | — | Short error title. |
messagereq | string | — | Human-readable explanation of what failed. |
sourcereq | string | — | Agent or system that produced the error. |
timestampreq | string | — | ISO timestamp or display string. |
severityreq | 'fatal' | 'recoverable' | 'transient' | — | Controls border and accent color. |
code | string | — | Optional error code or trace ID. |
detail | string | — | Raw technical detail in collapsible pre block. |
actions | ErrorAction[] | [] | Recovery actions with label, variant, and onClick. |
titlerequiredType
stringDefault —Short error title.
messagerequiredType
stringDefault —Human-readable explanation of what failed.
sourcerequiredType
stringDefault —Agent or system that produced the error.
timestamprequiredType
stringDefault —ISO timestamp or display string.
severityrequiredType
'fatal' | 'recoverable' | 'transient'Default —Controls border and accent color.
codeType
stringDefault —Optional error code or trace ID.
detailType
stringDefault —Raw technical detail in collapsible pre block.
actionsType
ErrorAction[]Default []Recovery actions with label, variant, and onClick.
Design Rationale
This component was designed to express:
Explore Related
Was this helpful?