|
|
|
|
|
by caylus
2373 days ago
|
|
This is really cool! My company has a similar internal library but it doesn't format wrapped errors as well as Eris. One other issue I've struggled with is in propagating errors across goroutines. If an error is created in the child routine, `runtime.Callers` doesn't include any stack frames from the parent. Assuming the parent wraps the error, it sounds like Eris would give you at least one line of the parent stack trace. Does it handle this specifically by including all of them? |
|