|
|
|
|
|
by GauntletWizard
1717 days ago
|
|
I would love a syntactic sugar for 'if err == nil {Errors.Wrap(err, *What I was trying to do")}'. As a SRE, making each part of the stack explicit (or explicitly non-explicit) is invaluable for understanding debugging. I'm A-ok with some forms of error throwing, but they need to be clear and understood. |
|
[1]: https://go.dev/blog/go1.13-errors [2]: https://github.com/pkg/errors