errors
errors copied to clipboard
Simple error handling primitives
_Dependabot Preview will be shut down on August 3rd, 2021. In order to keep getting Dependabot updates, please merge this PR and migrate to GitHub-native Dependabot before then._ Dependabot has...
It's great to see the new work on pkg/errors in https://github.com/pkg/errors/releases/tag/v0.9.0 - thanks! It would be helpful if the README here was updated to outline the current status and plans.
This isn't a Hacktoberfest spam pull request! Hello everybody, what about merging the upstream back into the fork? [`pkg/errors`](https://github.com/pkg/errors) seems to have added support for go 1.13 `Unwrap`, so I...
When printing error which have causes with `%+v` verb, you'll get the stack trace several times. main.go ```go package main import ( "fmt" "github.com/friendsofgo/errors" ) func a() error { return...
Issue I noticed is when trying `errors.Errorf("reached 0 %w", Fail)`: This is actually doesn't support Go 1.13 error wrapping format (output was `reached 0 %!w(*failure.FailError=&{})`) Created the following snippet to...