abhinav / git-spice

Manage stacked Git branches
https://abhinav.github.io/git-spice/
GNU General Public License v3.0
220 stars 11 forks source link

forge/github: Surface GraphQL API error codes #440

Closed abhinav closed 2 weeks ago

abhinav commented 2 weeks ago

shurcooL/githubv4 hides the error codes in the returned errors. There's an open issue to resolve this but it hasn't seen progress in years.

As a workaround, we'll interpret the GraphQL errors ourselves at the HTTP transport layer -- at least for now. In the future, we should switch to a different GraphQL client library.

Closes #437

abhinav commented 2 weeks ago

This change is part of the following stack:

Change managed by git-spice.