terraform/tfdiags
Martin Atkins d96284f2e2 tfdiags: FormatErrorPrefixed
When presenting an error that may be a PathError, the error's path is
usually relative to some other value. If the caller is able to express
that value (or, more often, a reference to it) in HCL syntax then this
method will produce a complete expression in the error message,
concatenating any path information from the error to the end of the given
prefix string.
2018-10-16 19:14:11 -07:00
..
config_traversals.go tfdiags: FormatErrorPrefixed 2018-10-16 19:14:11 -07:00
contextual.go add tfdiags.GetAttribute 2018-10-16 18:50:29 -07:00
contextual_test.go add tfdiags.GetAttribute 2018-10-16 18:50:29 -07:00
diagnostic.go
diagnostic_base.go
diagnostics.go tfdiags: Sort order for diagnostics 2018-10-16 18:50:29 -07:00
diagnostics_test.go tfdiags: Diagnostics.ErrWithWarnings and .NonFatalErr 2018-10-16 18:44:26 -07:00
doc.go
error.go
hcl.go
rpc_friendly.go
rpc_friendly_test.go
severity_string.go
simple_warning.go
source_range.go
sourceless.go tfdiags: Simple helper for creating "sourceless" diagnostics 2018-10-16 18:24:10 -07:00