-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Description
At section with Errors Types mentioned only about standart go library errors, but github.com/pkg/errors is popular as well, we can find a lot of references of it at Uber open source repos:
https://github.com/search?q=org%3Auber%20github.com%2Fpkg%2Ferrors&type=code
So propose to add section about it.
The key points in this:
- errors.Errorf() formats an error message and includes the stack trace. It's an equivalent fmt.Errorf(), but fmt.Errorf() doesn't print stack trace.
- errors.Wrapf() formats an error message and includes the stack trace. Another error is embedded in the message.
- The github.com/pkg/errors is no longer actively maintained. The repo has been archived so it is no longer accepting updates, but remains available for use.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels