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
Currently, error handling is still not very handy, still need to
strings.Contains(err.Error(), "not exists")
pkg/errors
Go
Timeout()
net
NotImplemented
Contains
Rust
The text was updated successfully, but these errors were encountered:
@gaocegege @codeworm96 any recommendation for error handling in go/rust or any other languages ... @xplorld
Sorry, something went wrong.
I think errors should be type rich.
@codeworm96 you mean have an interface and inspect based on type?
Different errors should be different types/variants of enum (at best effort, though)
Fixed in #96
at15
No branches or pull requests
Currently, error handling is still not very handy, still need to
strings.Contains(err.Error(), "not exists")
pkg/errors
Ref
Go
Timeout()
innet
packageNotImplemented
as causerContains
etc.Rust
The text was updated successfully, but these errors were encountered: