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

Remove gRPC status errors #149

Closed
alexvanin opened this issue Jul 9, 2021 · 0 comments · Fixed by #171
Closed

Remove gRPC status errors #149

alexvanin opened this issue Jul 9, 2021 · 0 comments · Fixed by #171
Assignees

Comments

@alexvanin
Copy link
Contributor

gRPC status errors are suitable for gRPC p2p communication between clients. I don't think we need to work with it it gates. S3 gate defines it's own set of errors so we should use it ubiquitous.

NeoFS API Client will provide generic go errors in the future (nspcc-dev/neofs-api#150) but now we can rely only on text descriptions. So the common pattern should be to parse API error (basically text description) and throw S3 error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants