errors v0.5.0 Release Notes
Release Date: 2016-05-23 // almost 8 years ago-
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 interfacetype Stack interface { Stack() []uintptr}
The resulting
[]uintptr
is the same format asruntime.Callers
. At the moment there are no helpers to inspect this information.