Whenever there is an error in a child component, the errorCaptured() function is called on the parent.
Open the browser console to see the captured error details.
This is the component