terraform/tfdiags
Martin Atkins 860a57d104 tfdiags: Simple helper for creating "sourceless" diagnostics
While diagnostics are primarily designed for reporting problems in
configuration, they can also be used for errors and warnings about the
environment Terraform is running in, such as inability to reach a remote
service, etc.

Function Sourceless makes it easy to produce such diagnostics with the
customary summary/detail structure. When these diagnostics are rendered
they will have no source code snippet and will instead just include the
English-language content.
2018-10-16 18:24:10 -07:00
..
config_traversals.go tfdiags: helper functions for nicer display of cty.PathError 2018-10-16 18:24:10 -07:00
contextual.go tfdiags: Contextual diagnostics 2018-10-16 18:24:10 -07:00
contextual_test.go tfdiags: Contextual diagnostics 2018-10-16 18:24:10 -07:00
diagnostic.go tfdiags: new package for normalizing error and warning messages 2017-10-06 11:46:07 -07:00
diagnostic_base.go tfdiags: Contextual diagnostics 2018-10-16 18:24:10 -07:00
diagnostics.go tfdiags: show descriptions in diagnosticsAsError 2017-10-16 17:53:06 -07:00
diagnostics_test.go tfdiags: new package for normalizing error and warning messages 2017-10-06 11:46:07 -07:00
doc.go tfdiags: new package for normalizing error and warning messages 2017-10-06 11:46:07 -07:00
error.go tfdiags: helper functions for nicer display of cty.PathError 2018-10-16 18:24:10 -07:00
hcl.go tfdiags: Helper to construct SourceRange from hcl.Range 2017-10-16 17:51:16 -07:00
rpc_friendly.go tfdiags: Allow construction of RPC-friendly Diagnostics 2017-10-06 11:46:07 -07:00
rpc_friendly_test.go tfdiags: Allow construction of RPC-friendly Diagnostics 2017-10-06 11:46:07 -07:00
severity_string.go Update various files for new version of "stringer" 2017-12-11 13:26:29 -08:00
simple_warning.go tfdiags: new package for normalizing error and warning messages 2017-10-06 11:46:07 -07:00
source_range.go tfdiags: SourceRange.StartString 2017-10-06 11:46:07 -07:00
sourceless.go tfdiags: Simple helper for creating "sourceless" diagnostics 2018-10-16 18:24:10 -07:00