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

Method Error

pkg/errors/definitions.go:109–114  ·  view source on GitHub ↗

Error implements the error interface.

()

Source from the content-addressed store, hash-verified

107
108// Error implements the error interface.
109func (d *Definition) Error() string {
110 if d == nil {
111 return ""
112 }
113 return d.String()
114}
115
116var messageFormatArgument = regexp.MustCompile(`\{[\s]*([a-z0-9_]+)`)
117

Callers

nothing calls this directly

Calls 1

StringMethod · 0.95

Tested by

no test coverage detected