This repository has been archived by the owner on Oct 7, 2021. It is now read-only.
Proposal: Error handling with pkg/errors #82
Labels
ToDD Rebuild
Tasks related to the effort to rebuild ToDD the right way
Related to #6.
Dave Cheney's https://github.com/pkg/errors allows adding context to errors without losing the original error. It additionally records stack traces for debugging.
I think that this would help bring consistency to the error handling in ToDD and greatly improve the ability to debug issues.
More info on reasoning for the package:
Blog Post: http://dave.cheney.net/2016/04/27/dont-just-check-errors-handle-them-gracefully
GopherCon Presentation: https://youtu.be/lsBF58Q-DnY?list=PL2ntRZ1ySWBdliXelGAItjzTMxy2WQh0P
The text was updated successfully, but these errors were encountered: