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

R25.03 Consistent error propagation in the portal from backend to frontend #837

Open
1 task
MaximilianHauer opened this issue Sep 3, 2024 · 0 comments
Open
1 task
Assignees
Labels
portal Feature/Bug for Portal component Prep-R25.03
Milestone

Comments

@MaximilianHauer
Copy link

MaximilianHauer commented Sep 3, 2024

To be refined

Description

Currently we have multiple places where we inform the customer that an error happend but don't provide any information of the cause of the error as we don't use the specific error message raised in the backend.
I would like to enhance the frontend that we create a standardized behavior to display error messages in the frontend including the backend information.

Impact

Portal-Frontend
Portal-Backend

Benefit

Abstraction: The backend can handle complex errors without exposing implementation details to the frontend, simplifying the communication between the two layers.
Flexibility: The frontend can handle errors in a consistent way, regardless of the specific error that occurred on the backend.
Maintainability: Changes in the backend error handling logic do not necessarily require changes in the frontend, as long as the generic error representation remains consistent.

Committer

Additional information

  • I'm willing to contribute to this feature
@MaximilianHauer MaximilianHauer added portal Feature/Bug for Portal component Prep-R25.03 labels Sep 3, 2024
@MaximilianHauer MaximilianHauer added this to the 25.03 milestone Sep 3, 2024
@MaximilianHauer MaximilianHauer self-assigned this Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
portal Feature/Bug for Portal component Prep-R25.03
Projects
Status: NEW USER REQUEST
Status: Inbox
Development

No branches or pull requests

1 participant