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

Struct MACPayloadValidationError

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

MACPayloadValidationError is the validation error returned by MACPayload.ValidateFields if the designated constraints aren't met.

Source from the content-addressed store, hash-verified

388// MACPayloadValidationError is the validation error returned by
389// MACPayload.ValidateFields if the designated constraints aren't met.
390type MACPayloadValidationError struct {
391 field string
392 reason string
393 cause error
394 key bool
395}
396
397// Field function returns field value.
398func (e MACPayloadValidationError) Field() string { return e.field }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected