Catching fetch errors with async/await

Report a typo

For handling errors in a fetch request using async/await syntax in JavaScript, how would you modify the following code snippet?

Select one option from the list

Create a free account to access the full topic