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

Method String

pkg/errors/errors.go:51–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49}
50
51func (e *Error) String() string {
52 if e == nil {
53 return ""
54 }
55 return fmt.Sprintf("error:%s (%s)", e.FullName(), e.FormatMessage(e.PublicAttributes()))
56}
57
58// Error implements the error interface.
59func (e *Error) Error() string {

Callers 2

GRPCStatusMethod · 0.95
ErrorMethod · 0.95

Calls 3

PublicAttributesMethod · 0.95
FormatMessageMethod · 0.80
FullNameMethod · 0.65

Tested by

no test coverage detected