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.yoyoweb123.workers.dev%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.
Metadata
Assignees
Labels
No labels
Activity