generated from CodeYourFuture/Module-Template
-
-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
♟️ Dependent ticketThis ticket depends on something else being completed first this sprintThis ticket depends on something else being completed first this sprint🏕 Priority MandatoryThis work is expectedThis work is expected🐇 Size SmallAround an hourAround an hour📅 Week 3Assigned during Week 3 of this moduleAssigned during Week 3 of this module📅 Week 4Assigned during Week 4 of this moduleAssigned during Week 4 of this module
Description
Show an error message
Instructions:
Display an error message in <Bookings /> if there is an HTTP error when fetching data from the server. To test this, try loading data from https://cyf-react.glitch.me/error, which will return a 500 HTTP error.
Hint: Try looking at your Pokemon app for an example.
If you complete #22 and merge it, you will likely reduce the work needed here
Test:
- When loading bookings data from the
/errorendpoint, an error message should be displayed on the screen.
Metadata
Metadata
Assignees
Labels
♟️ Dependent ticketThis ticket depends on something else being completed first this sprintThis ticket depends on something else being completed first this sprint🏕 Priority MandatoryThis work is expectedThis work is expected🐇 Size SmallAround an hourAround an hour📅 Week 3Assigned during Week 3 of this moduleAssigned during Week 3 of this module📅 Week 4Assigned during Week 4 of this moduleAssigned during Week 4 of this module
Type
Projects
Status
📋 Backlog