Skip to content

Stack Trace

A Node error parsed into its type, message and frames. Internal frames are muted and can be hidden; a frame's file opens in the editor.

Sourcecomponents/stack-trace.tsx

TypeError: Cannot read properties of undefined (reading 'total')

Usage

When to use

Use when

A JavaScript error and its stack, parsed into type, message and frames. Internal frames are muted and can be hidden; onFilePathClick makes each file a button

Don’t use when

An error message without a stack (use Alert); a failed test (use Test Results, with the stack in TestErrorStack)