# Functions
AttributeValue returns a diagnostic about an attribute value in an implied current configuration context.
FormatCtyPath is a helper function to produce a user-friendly string representation of a cty.Path.
FormatError is a helper function to produce a user-friendly string representation of certain special error types that we might want to include in diagnostic messages.
FormatErrorPrefixed is like FormatError except that it presents any path information after the given prefix string, which is assumed to contain an HCL syntax representation of the value that errors are relative to.
GetAttribute extracts an attribute cty.Path from a diagnostic if it contains one.
SimpleWarning constructs a simple (summary-only) warning diagnostic.
Sourceless creates and returns a diagnostic with no source location information.
SourceRangeFromHCL constructs a SourceRange from the corresponding range type within the HCL package.
WholeContainingBody returns a diagnostic about the body that is an implied current configuration context.
# Structs
No description provided by the author
No description provided by the author
NonFatalError is a special error type, returned by Diagnostics.ErrWithWarnings and Diagnostics.NonFatalErr, that indicates that the wrapped diagnostics should be treated as non-fatal.
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author