MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / Stack

Function Stack

pkg/errors/causes.go:92–97  ·  view source on GitHub ↗

Stack returns the entire error stack, including the given error.

(err error)

Source from the content-addressed store, hash-verified

90
91// Stack returns the entire error stack, including the given error.
92func Stack(err error) (stack []error) {
93 for ; err != nil; err = Cause(err) {
94 stack = append(stack, err)
95 }
96 return
97}

Callers 12

handleDeviceRegistryTestFunction · 0.92
TestGetAppSKeyFunction · 0.92
TestHandleJoinRequestFunction · 0.92
TestJoinServerRaceFunction · 0.92
handleDeviceRegistryTestFunction · 0.92
TestHandleResetIndFunction · 0.92
TestCauseFunction · 0.92
NewEventFunction · 0.92
FormatErrorFunction · 0.92
PrintStackFunction · 0.92
ToHTTPStatusCodeFunction · 0.70
FieldsMethod · 0.70

Calls 1

CauseFunction · 0.85

Tested by 6

handleDeviceRegistryTestFunction · 0.74
TestGetAppSKeyFunction · 0.74
TestHandleJoinRequestFunction · 0.74
TestJoinServerRaceFunction · 0.74
TestHandleResetIndFunction · 0.74
TestCauseFunction · 0.74