How to Handle Errors Correctly with the JavaScript Fetch API

· Dev.to