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

More specific api error handling #81

Open
elstoc opened this issue Sep 23, 2023 · 0 comments
Open

More specific api error handling #81

elstoc opened this issue Sep 23, 2023 · 0 comments

Comments

@elstoc
Copy link
Owner

elstoc commented Sep 23, 2023

  • write a generic api handler to deal with different server responses
  • handle those errors in the HandleQueryState component

For example, when the error is caused by the user not being logged in, give them access to a login page.

Might need to lift all data fetching to higher level components to make this simpler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant