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

Function errMissing

pkg/encoding/lorawan/errors.go:94–96  ·  view source on GitHub ↗
(lorawanField string)

Source from the content-addressed store, hash-verified

92}
93
94func errMissing(lorawanField string) *errors.Error {
95 return errUnknownField.WithAttributes("lorawan_field", lorawanField)
96}
97
98func errExpectedBetween(lorawanField string, min, max any) valueErr {
99 return unexpectedValue(errFieldBound.WithAttributes("lorawan_field", lorawanField, "min", min, "max", max))

Callers 8

AppendMessageFunction · 0.70
MarshalMessageFunction · 0.70
UnmarshalMessageFunction · 0.70

Calls 1

WithAttributesMethod · 0.45

Tested by

no test coverage detected