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

Add a component to easily create and show errors as dialogs or notifications #126

Open
Frewacom opened this issue Jul 7, 2021 · 0 comments
Labels
component Adding or updating components feature

Comments

@Frewacom
Copy link
Member

Frewacom commented Jul 7, 2021

There is currently no easy way to show errors to the user based on the ApiError returned by an API call. We should add a new component that takes in an ApiError (i.e. the error property of an async hook) and renders a dialog or notification, describing the error. It should have reasonable defaults that describe the error, but should also provide a way to define custom messages for selected error types.

@Frewacom Frewacom added feature component Adding or updating components labels Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component Adding or updating components feature
Projects
None yet
Development

No branches or pull requests

1 participant