Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/pkg/errors
/ StackTrace
Method
StackTrace
example_test.go:177–177 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
175
func
Example_stackTrace() {
176
type
stackTracer
interface
{
177
StackTrace() errors.StackTrace
178
}
179
180
err, ok := errors.Cause(fn()).(stackTracer)
Callers
3
TestStackTrace
Function · 0.65
BenchmarkStackFormatting
Function · 0.65
Example_stackTrace
Function · 0.65
Calls
no outgoing calls
Tested by
3
TestStackTrace
Function · 0.52
BenchmarkStackFormatting
Function · 0.52
Example_stackTrace
Function · 0.52