8000 grpc: wrap original error & TrivialNotFoundErr by dfinkel · Pull Request #73 · vimeo/galaxycache · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

grpc: wrap original error & TrivialNotFoundErr #73

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dfinkel
Copy link
@dfinkel dfinkel commented May 13, 2025

Propagate both the original status code and the TrivialNotFoundErr so
errors.A 829C s works for gRPC errors that were previously passed back, and
Not Found errors also don't get repeated on every client.

Propagate both the original status code and the `TrivialNotFoundErr` so
`errors.As` works for gRPC errors that were previously passed back, and
Not Found errors also don't get repeated on every client.
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
0