We have multiple Lightning Web Components added to a page and each of the component handles errors using toast messages. Sometimes, there is a long chain of toast messages that display when errors occur when loading the components.
We have been thinking about couple solutions:
- Use a Lightning web component to aggregate and display all errors.
- Use public properties on each component to display the error messages.
- Use a tag to display in-place error messages.
What should be the most recommended solution in order to improve the user experience?
Note: we are not really sure if option 3 could really help in this case