Handling an error inside of a promise
Fetch is a promise. normal try catch wont work with that because fetch wont instantly throw an error or resolve and by the time it does we will be out of try block that's how asynchronous functions work. We could use try catch if we convert the promi...
omarsaade.hashnode.dev3 min read