JHannTX / angular-practice-food

This is an angular front end website that interacts with various free food apis
0 stars 0 forks source link

Better Error Handling #5

Open JHannTX opened 1 year ago

JHannTX commented 1 year ago

Currently when an endpoint hits a 404 it just says "No Search Results". Whether or not that is displayed is based on if the observable is truthy or not. This is done the async pipe. I'm not sure if this is an efficient way to do this.

There are several ways this can be changed: