Skip to content

Traceback

const Traceback: (props) => ReactElement

Defined in: react/components/data/traceback.tsx:29

A rich exception / stack-trace panel — name: message followed by parsed frames (library frames dimmed) and a few lines of syntax-highlighted source around the topmost in-app frame, with a caret under the failing column.

try { … } catch (err) { return <Traceback error={err as Error} />; }

TracebackProps

ReactElement