Distinguish between Gitaly being unavailable and other errors
What does this MR do and why?
Describe in detail what your merge request does and why.
Display different errors depending on the error response or status code coming from GRPC. Dispatch these changes in the GraphQL extension for custom error codes errors in the FE.
How to set up and validate locally
gdk start
- go to http://127.0.0.1:3000/flightjs/Flight
gdk stop gitaly
- reload the page with inspector should see details about the error that are easy for the FE to handle.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #343260 (closed)
Edited by Patrick Cyiza