We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We should have an gRPC interceptor which translates kubernetes errors into the corresponding gRPC codes. The interceptor would have logic like:
apierr "k8s.io/apimachinery/pkg/api/errors" if apierr.IsNotFound(err) { err = grpc.Errorf(codes.NotFound, err.Error()) } else if apierr.IsAlreadyExists(err) { err = grpc.Errorf(codes.AlreadyExists, err.Error()) }
The text was updated successfully, but these errors were encountered:
WIP in https://github.com/merenbach/argo-cd/tree/convert-errors
Sorry, something went wrong.
Issue #458 - Render events on project details page (#30)
40fdda3
merenbach
Successfully merging a pull request may close this issue.
We should have an gRPC interceptor which translates kubernetes errors into the corresponding gRPC codes. The interceptor would have logic like:
The text was updated successfully, but these errors were encountered: