refactor/AB#82357_create-shared-error-handler-logic-for-the-app#2434
Open
Conversation
… add error handler to display default snackbar message from one place for all error coming from our API that are not graphQL related feat: refactor all graphql errors to be treated in the error section of the subscription feat: adapt all grapql subscriptions in order to keep the errors correctly handled as the aforementioned reason
… handle graphQL errors using apollo links
…pp feat: update error message handler function in order to format all message types coming from GraphQL requests feat: create error links for GraphQL error handling feat: update related requests with the new subscribe syntax with next and error callbacks to properly handle errors from requests
…-and-other-fixes' of github.com-relief:ReliefApplications/ems-frontend into refactor/AB#82357_create-shared-error-handler-logic-for-the-app
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Useful links
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Screenshots
Please include screenshots of this change. If this issue is only back-end related, and does not involve any visual change of the platform, you can skip this part.
Checklist:
( * == Mandatory )
More explanation
https://www.loom.com/share/05a716d61b9744faaf51fb304c21d1e5?sid=f87cf896-582a-4f76-93ae-8ceed801b145