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

Function DefineInternal

pkg/errors/definitions.go:290–293  ·  view source on GitHub ↗

DefineInternal defines a registered error of type Internal.

(name, messageFormat string, publicAttributes ...string)

Source from the content-addressed store, hash-verified

288
289// DefineInternal defines a registered error of type Internal.
290func DefineInternal(name, messageFormat string, publicAttributes ...string) *Definition {
291 def := define(uint32(codes.Internal), name, messageFormat, publicAttributes...)
292 return def
293}
294
295// DefineUnavailable defines a registered error of type Unavailable.
296func DefineUnavailable(name, messageFormat string, publicAttributes ...string) *Definition {

Callers 15

devaddr.goFile · 0.92
rpcserver.goFile · 0.92
ratelimit.goFile · 0.92
sendgrid.goFile · 0.92
ttjs.goFile · 0.92
password.goFile · 0.92
pbkdf2.goFile · 0.92
algorithm.goFile · 0.92
fetcher.goFile · 0.92
task.goFile · 0.92
io.goFile · 0.92
storage.goFile · 0.92

Calls 1

defineFunction · 0.85

Tested by 1

TestCodesFunction · 0.74