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

feat: add HandleGrpcError function #67

Merged

Conversation

mattvinicius
Copy link
Contributor

  • add HandleGrpcError function to transform grpc errors into graphql errors
  • add HandleGrpcErrorIgnoringNotFound to do the same as HandleGrpcError but ignoring NotFound errors
  • add GetStatusCodeFromRawError to extract status code from an error

@fernandobandeira fernandobandeira merged commit 3ff1936 into gothunder:main Dec 22, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants