tracerr
tracerr copied to clipboard
Golang errors with stack trace and source fragments.
Go 1.13 supports [wrapping errors](https://blog.golang.org/go1.13-errors) in a standard way. tracerr doesn't print stack traces of wrapped errors, as it doesn't know how to look inside to see the wrapped error...
Incredible project! Such a beautiful night and day difference. Currently, we can control the amount of lines before and after the trace line in methods such as: ```go tracerr.SprintSourceColor(beforeLines, afterLines)...
I made [a spiritual successor of `github.com/pkg/errors`](https://gitlab.com/tozd/go/errors) some time ago and in it I want to know if an error already contains a stack trace. The goal is that if...