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

Struct MessageValidationError

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

MessageValidationError is the validation error returned by Message.ValidateFields if the designated constraints aren't met.

Source from the content-addressed store, hash-verified

169// MessageValidationError is the validation error returned by
170// Message.ValidateFields if the designated constraints aren't met.
171type MessageValidationError struct {
172 field string
173 reason string
174 cause error
175 key bool
176}
177
178// Field function returns field value.
179func (e MessageValidationError) Field() string { return e.field }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected