-
Notifications
You must be signed in to change notification settings - Fork 31
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
Annotate errors #9
Comments
do you have an example? |
For example, client has an error in https://github.com/cockroachdb/errors is another package that can do this job and is more future proof than |
Why not use the fmt.Errorf |
Yes, it's a good idea but I'm not sure about the target go versions. Above packages would work in old versions but Also, I believe 1.13 adaptation will be much slower compared to previous versions due to modules, |
I've heard about |
to provide more context to the users.
pkg/errors could be leveraged.
The text was updated successfully, but these errors were encountered: