The 'errorCaptured' Lifecycle Hook

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.

Component

This is the component