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

Struct Error

pkg/errors/errors.go:41–49  ·  view source on GitHub ↗

Error is a rich error implementation.

Source from the content-addressed store, hash-verified

39
40// Error is a rich error implementation.
41type Error struct {
42 *Definition
43 *stack
44 correlationID string
45 cause error
46 details []proto.Message
47 attributes map[string]any
48 grpcStatus *atomic.Value
49}
50
51func (e *Error) String() string {
52 if e == nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected