Hi, I would like to make a suggestion that all errors produced from the web component should trigger an event too.
Here’s an example
Perhaps, you can use this block