diff options
author | Nathan Dench <ndenc2@gmail.com> | 2019-05-24 15:16:44 +1000 |
---|---|---|
committer | Nathan Dench <ndenc2@gmail.com> | 2019-05-24 15:16:44 +1000 |
commit | 107c1cdb09c575aa2f61d97f48d8587eb6bada4c (patch) | |
tree | ca7d008643efc555c388baeaf1d986e0b6b3e28c /vendor/github.com/hashicorp/terraform/tfdiags/error.go | |
parent | 844b5a68d8af4791755b8f0ad293cc99f5959183 (diff) | |
download | terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.tar.gz terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.tar.zst terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.zip |
Upgrade to 0.12
Diffstat (limited to 'vendor/github.com/hashicorp/terraform/tfdiags/error.go')
-rw-r--r-- | vendor/github.com/hashicorp/terraform/tfdiags/error.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/vendor/github.com/hashicorp/terraform/tfdiags/error.go b/vendor/github.com/hashicorp/terraform/tfdiags/error.go index 35edc30..13f7a71 100644 --- a/vendor/github.com/hashicorp/terraform/tfdiags/error.go +++ b/vendor/github.com/hashicorp/terraform/tfdiags/error.go | |||
@@ -13,7 +13,7 @@ func (e nativeError) Severity() Severity { | |||
13 | 13 | ||
14 | func (e nativeError) Description() Description { | 14 | func (e nativeError) Description() Description { |
15 | return Description{ | 15 | return Description{ |
16 | Summary: e.err.Error(), | 16 | Summary: FormatError(e.err), |
17 | } | 17 | } |
18 | } | 18 | } |
19 | 19 | ||
@@ -21,3 +21,8 @@ func (e nativeError) Source() Source { | |||
21 | // No source information available for a native error | 21 | // No source information available for a native error |
22 | return Source{} | 22 | return Source{} |
23 | } | 23 | } |
24 | |||
25 | func (e nativeError) FromExpr() *FromExpr { | ||
26 | // Native errors are not expression-related | ||
27 | return nil | ||
28 | } | ||