Description
What's the issue?
Part of my workflow is to fill out wrapped error messages during the later stage of development (since it's likely errors are due to change during active development).
This means I often leave the following dotted around the code base:
if err != nil {
|
fmt.Errorf("%w", err) // TODO
|
}
|
All those with TODOs will be done prior to merge (as we lint using 'godox'), however, we should add a linter/check to assert that none of these types of "partially" wrapped errors are making it into the code base (as of now - master - none have made it in).
This is purely a QOL change.