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

Support returning gRPC Error Codes from handlers #207

Open
hamdio opened this issue Nov 13, 2020 · 0 comments
Open

Support returning gRPC Error Codes from handlers #207

hamdio opened this issue Nov 13, 2020 · 0 comments
Labels
enhancement New feature or request M-grpc This issue is related to the gRPC module P2 Priority 2

Comments

@hamdio
Copy link

hamdio commented Nov 13, 2020

Currently when an error is thrown from a gRPC handler, GrpcInputSource treats the error as generic Error type and returns as UNKNOWN_ERROR. But grpc api has a richer error definition here.
So it's better grpc input source to check error type returned from handler and use status code if exists.

@plameniv plameniv added enhancement New feature or request M-grpc This issue is related to the gRPC module labels Jun 10, 2021
@plameniv plameniv added the P2 Priority 2 label Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request M-grpc This issue is related to the gRPC module P2 Priority 2
Development

No branches or pull requests

2 participants