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

Added a unary grpc client interceptor that will allow grpc clients to return errors that are compatible with simplerr as well as the grpc status.FromError() and status.Code() methods #12

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

lobocv
Copy link
Owner

@lobocv lobocv commented Jan 5, 2024

Added a unary grpc client interceptor that will allow grpc clients to return errors that are compatbile with simplerr as well as the grpc status.FromError() and status.Code() methods

… return errors that are compatbile with simplerr as well as the grpc status.FromError() and status.Code() methods
@lobocv lobocv force-pushed the grpc-unary-client-interceptor branch from 42c22a6 to e9d8e91 Compare January 5, 2024 15:30
@lobocv lobocv changed the title Added a unary grpc client interceptor that will allow grpc clients to return errors that are compatbile with simplerr as well as the grpc status.FromError() and status.Code() methods Added a unary grpc client interceptor that will allow grpc clients to return errors that are compatible with simplerr as well as the grpc status.FromError() and status.Code() methods Jan 5, 2024
Comment on lines -70 to -71
# Finds unused struct fields
- structcheck
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deprecated

Comment on lines -59 to -60
# Checks deadcode
- deadcode
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deprecated, replaced by unused

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.

1 participant