(key string, diag *hcl.Diagnostic)
| 70 | } |
| 71 | |
| 72 | func (e *DiagnosticError) Append(key string, diag *hcl.Diagnostic) { |
| 73 | e.Extend(key, hcl.Diagnostics{diag}) |
| 74 | } |
| 75 | |
| 76 | func (e *DiagnosticError) Extend(key string, diag hcl.Diagnostics) { |
| 77 | if e.KeyedDiagnostics == nil { |