snaps icon indicating copy to clipboard operation
snaps copied to clipboard

Show actual UI errors

Open Mrtenz opened this issue 2 years ago • 0 comments

Currently in the UI builder of the Snaps Simulator, we show an error like "Expected value to be a valid UI component." if the UI is invalid. Instead, we should change all components to throw Superstruct errors (using assertStruct?), and render those in the error boundary.

Mrtenz avatar Oct 04 '23 12:10 Mrtenz