Use Try/Catch/Finally to Neutralize an Error

Look at the browser's console to see the result.