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

Struct MHDRValidationError

pkg/ttnpb/lorawan.pb.validate.go:267–272  ·  view source on GitHub ↗

MHDRValidationError is the validation error returned by MHDR.ValidateFields if the designated constraints aren't met.

Source from the content-addressed store, hash-verified

265// MHDRValidationError is the validation error returned by MHDR.ValidateFields
266// if the designated constraints aren't met.
267type MHDRValidationError struct {
268 field string
269 reason string
270 cause error
271 key bool
272}
273
274// Field function returns field value.
275func (e MHDRValidationError) Field() string { return e.field }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected