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

[GOOD_PRACTICES] Front end error handling #4

Open
1 of 5 tasks
hazzo opened this issue Jun 5, 2023 · 2 comments
Open
1 of 5 tasks

[GOOD_PRACTICES] Front end error handling #4

hazzo opened this issue Jun 5, 2023 · 2 comments
Assignees
Labels
good practices Mr. Milú "how to" good practice proposal

Comments

@hazzo
Copy link
Collaborator

hazzo commented Jun 5, 2023

What problem are you trying to solve?

  • Every new front end application, either web or mobile, handles and treats errors differently. We should have an unified way of detecting and classifying error and producing side effects in the UI.

Why should we solve it?

  • It's inefficient and time consuming to rethink how to handle errors in a front end application, there should be a standard.
  • A standard will guarantee that minimum cases are covered.
  • An unified way tested accross several applications can give us robustness.

How do you propose to solve it?

  • Contract proposal in this repository of which errors should we detect and how we can handle them
  • Implementation in react_base, next_base and flutter_base projects.

What could go wrong?

  • We could be either too general on error catching or too specific. We should be in a middle ground and let specific projects and use cases the ability to extend this error handling.

Tasks

  • Future tasks that will be listed once discussion starts on thread issue
@hazzo hazzo added the good practices Mr. Milú "how to" good practice proposal label Jun 5, 2023
@jherencia
Copy link
Member

Looks good to me :)

@hazzo
Copy link
Collaborator Author

hazzo commented Jun 5, 2023

Looks good to me :)

Already started proposal on a branch, as soon as I have a draft I'll hit you with a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good practices Mr. Milú "how to" good practice proposal
Projects
None yet
Development

No branches or pull requests

2 participants