The applications in angular 2 have an error handling option which also includes the react JS library to use the catch function. In turn, the catch function includes a link that sends information about the error handler function. under this function one can send the error as a question to console file other instances will send it back in the main program to ensure the continuation of the operation of the main program. Once it is fixed whenever the error arises it will be redirected in the browser's console.

BY Best Interview Question ON 24 Nov 2019