This repository was archived by the owner on Dec 1, 2021. It is now read-only.
errors 0.5.0
What's new
New
,Errorf
,Wrap
, andWrapf
, now store the stack trace of their caller (currently limited to a depth of 32). This can be retrieved by asserting for the following interface
type Stack interface {
Stack() []uintptr
}
The resulting []uintptr
is the same format as runtime.Callers
. At the moment there are no helpers to inspect this information.