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

Function errInvalidSize

pkg/crypto/errors.go:23–28  ·  view source on GitHub ↗
(typeName, typeDescription, expectedSize string)

Source from the content-addressed store, hash-verified

21)
22
23func errInvalidSize(typeName, typeDescription, expectedSize string) *errors.Definition {
24 return errors.DefineInvalidArgument(
25 fmt.Sprintf("%s_size", typeName),
26 fmt.Sprintf("invalid %s size of {size} bytes, expected %s bytes", typeDescription, expectedSize),
27 )
28}

Callers 2

join_messages.goFile · 0.85
keywrap.goFile · 0.85

Calls 1

DefineInvalidArgumentFunction · 0.92

Tested by

no test coverage detected