ComponentsStack Trace

Stack Trace

Reveal a failed operation and let users inspect or copy its stack frames.

Example

Why did the project preview fail?

Preview failedError
  1. Loaded the project draft
  2. Stack frames
    TypeError: Missing project title
        at buildPreview (preview.js:18:12)
        at loadProject (project.js:34:5)

The project draft needs a title before the preview can render.

Setup

Download the shared Inlay assets once. Then choose HTML, React, or Vue and copy the example above.

Usage

UsageReplay to see the preview attempt and the failure. Expand the stack frames for detail.