Cheddam / SwitchFlit

A plug-and-play quick-switch UI for SilverStripe DataObjects.
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

Handle failures to return data in the front-end #16

Closed Cheddam closed 8 years ago

Cheddam commented 8 years ago

Basically involves adding an catch() onto the end of the fetch for data. We should also provide a visual indicator that the required data for searching is missing.

This includes identifying the kind of error that has occurred, and acting based on it (for example, we might want to retry the request in some cases).