# Functions
NewAttributeErrorDiagnostic returns a new error severity diagnostic with the given summary, detail, and path.
NewAttributeWarningDiagnostic returns a new warning severity diagnostic with the given summary, detail, and path.
NewErrorDiagnostic returns a new error severity diagnostic with the given summary and detail.
NewErrorDiagnostic returns a new warning severity diagnostic with the given summary and detail.
WithPath wraps a diagnostic with path information or overwrites the path.
# Constants
SeverityError represents a terminating condition.
SeverityInvalid represents an undefined severity.
SeverityWarning represents a condition with explicit feedback.
# Structs
ErrorDiagnostic is a generic diagnostic with error severity.
WarningDiagnostic is a generic diagnostic with warning severity.
# Interfaces
Diagnostic is an interface for providing enhanced feedback.
DiagnosticWithPath is a diagnostic associated with an attribute path.
# Type aliases
Diagnostics represents a collection of diagnostics.
Severity represents the level of feedback for a diagnostic.