]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blob - vendor/github.com/hashicorp/terraform/tfdiags/sourceless.go
Upgrade to 0.12
[github/fretlink/terraform-provider-statuscake.git] / vendor / github.com / hashicorp / terraform / tfdiags / sourceless.go
1 package tfdiags
2
3 // Sourceless creates and returns a diagnostic with no source location
4 // information. This is generally used for operational-type errors that are
5 // caused by or relate to the environment where Terraform is running rather
6 // than to the provided configuration.
7 func Sourceless(severity Severity, summary, detail string) Diagnostic {
8 return diagnosticBase{
9 severity: severity,
10 summary: summary,
11 detail: detail,
12 }
13 }