type

Issue

Issue records a definition problem relative to the field. Config resolution prefixes Path with the field's exact location in the application config.

Properties

PropertyTypeDescription
CodestringCode is a stable machine-readable problem identifier.
PathstringPath locates the invalid property within the field definition.
MessagestringMessage explains how to correct the problem.

Full signature

type Issue struct { // Code is a stable machine-readable problem identifier. Code string // Path locates the invalid property within the field definition. Path string // Message explains how to correct the problem. Message string }

Source field/field.go:219