https://basescripts.com/how-do-you-handle-errors-in-javascript
How do you handle errors in JavaScript?