snaps icon indicating copy to clipboard operation
snaps copied to clipboard

Improve Superstruct error messages for invalid UI

Open FrederikBolding opened this issue 1 year ago • 0 comments

The error message for any part of your UI being invalid is currently:

Invalid params: At path: id — Expected a value of type string, but received: undefined.

This happens because we are wrongly selecting the error message based on the Superstruct failures. For developer experience purposes we will need to rectify this

FrederikBolding avatar Sep 03 '24 09:09 FrederikBolding