Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Error Message #6

Open
1 task
SallyMcGrath opened this issue Dec 18, 2024 · 0 comments
Open
1 task

Feature Error Message #6

SallyMcGrath opened this issue Dec 18, 2024 · 0 comments
Labels
♟️ Dependent ticket This ticket depends on something else being completed first this sprint 🏕 Priority Mandatory This work is expected 🐇 Size Small Around an hour 📅 Week 3 Assigned during Week 3 of this module 📅 Week 4 Assigned during Week 4 of this module

Comments

@SallyMcGrath
Copy link
Collaborator

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 CodeYourFuture#22 and merge it, you will likely reduce the work needed here

Test:

  • When loading bookings data from the /error endpoint, an error message should be displayed on the screen.
@SallyMcGrath SallyMcGrath added ♟️ Dependent ticket This ticket depends on something else being completed first this sprint 🏕 Priority Mandatory This work is expected 🐇 Size Small Around an hour 📅 Week 3 Assigned during Week 3 of this module 📅 Week 4 Assigned during Week 4 of this module labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
♟️ Dependent ticket This ticket depends on something else being completed first this sprint 🏕 Priority Mandatory This work is expected 🐇 Size Small Around an hour 📅 Week 3 Assigned during Week 3 of this module 📅 Week 4 Assigned during Week 4 of this module
Projects
None yet
Development

No branches or pull requests

1 participant