Window Error Events & Handling

The window object has an Error event that lets us handle any error that happens on the page. Much better practice than wrapping your entire page in a try catch block.

no image here