Add Error Handler
Learn to handle the errors from the API.
Add the error handling
It’s now time to add error handling to the App.js
file. When a user enters an invalid city name, our API should return an error instead of the property. In that scenario, the ...