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

Function errExpectedLowerOrEqual

pkg/encoding/lorawan/errors.go:50–52  ·  view source on GitHub ↗
(lorawanField string, max any)

Source from the content-addressed store, hash-verified

48}
49
50func errExpectedLowerOrEqual(lorawanField string, max any) valueErr {
51 return unexpectedValue(errFieldHasMax.WithAttributes("lorawan_field", lorawanField, "max", max))
52}
53
54func errExpectedLengthEqual(lorawanField string, expected any) valueErr {
55 return unexpectedValue(errFieldLengthEqual.WithAttributes("lorawan_field", lorawanField, "expected", expected))

Callers 9

mac.goFile · 0.70
AppendMHDRFunction · 0.70
AppendFCtrlFunction · 0.70
AppendFHDRFunction · 0.70
AppendMACPayloadFunction · 0.70
AppendDLSettingsFunction · 0.70
AppendJoinAcceptPayloadFunction · 0.70

Calls 2

unexpectedValueFunction · 0.70
WithAttributesMethod · 0.45

Tested by

no test coverage detected