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

Create new error handler to be responsible for the error orchestration #3316

Closed
1 task done
Machi3mfl opened this issue May 31, 2021 · 0 comments · Fixed by #3350
Closed
1 task done

Create new error handler to be responsible for the error orchestration #3316

Machi3mfl opened this issue May 31, 2021 · 0 comments · Fixed by #3350
Assignees
Labels

Comments

@Machi3mfl
Copy link
Member

Machi3mfl commented May 31, 2021

Parent Issue
#3262
  • Create a new error handler to be responsible for the error orchestration (business rules for errors).

Acceptance criteria

  • Not all errors should be sent to the backend, only logs categorized with a certain level or higher.
  • The errors displayed in the UI must be clear to the user and not prevent the use of the app.
  • The component must display only NO business errors, the business errors must be handled by the corresponding component.
  • The error orchestrator must be responsible for manage what to do with the errors according to the error level and interfaces.

Alternatives
Check the libs loglevel and loglevel-plugin-remote.
Here an example with error boundary and loglevel.

@Machi3mfl Machi3mfl added the type/enhancement Enhancement issue label May 31, 2021
@Machi3mfl Machi3mfl changed the title New error handler to be responsible for the error orchestration Create new error handler to be responsible for the error orchestration May 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants