# Functions
Concat takes one-or-more sets of daignostics and returns a combined set.
FromErr takes a standard go error and returns proto diagnostics.
FromHCL takes a map of hcl.Files and hcl.Diagnostics and returns pb diagnostics.
FromTFJSON takes terraform-json Diagnostics and returns them as proto diagnostics.
HasErrors returns true if any diagnostic has an error severity.
HasFailed takes a bool about warnings as errors and a set of diagnostic and returns a bool if a failure has occurred.
HasWarnings returns true if any diagnostic has a warning severity.
No description provided by the author
No description provided by the author
OpEventErrors returns whether the event has errors.
OpEventWarnings returns whether the event has warnings.
OpResErrors checks an operation response failure diagnostics.
OpResFailed checks an operation response for failure diagnostics.
OpResWarnings checks an operation response warning diagnostics.
No description provided by the author
String writes the diagnostic as a string.
ToError takes a slice of diagnostics and returns an wrapper error chain.
WithStringColor passes color settings to the formatter.
WithStringSnippetEnabled enables or diables the snippet in the formatting.
WithStringUISettings passes UI settings to the string formatter.
# Type aliases
StringOpt is an option to the string formatter.