What would be the best approach to handling errors in custom (possibly composite) components?
I see three different possibilities:
How do you solve this?
My goal is to have a versatile custom component that can utilize any given consumer's error handler.
or define a customized event and dispatch it when error occur, then you can just listen to it outside