github.com/stonelgh/cerrors (go): Package cerrors provides simple yet flexible error handling primitives.  It allows you to categorize errors using error codes. It helps you to debug by recording the call stack when the error occurs and allowing you to add context to the failure path.  To create and test an error with an error code:  Print the call stack when the error happens:  Add context to an error:
Keywords: error-codes|error-context|error-handling|error-stacktrace|errors|golang