NewIssues returns an Issues struct from a common.Errors object.
(errs *common.Errors)
| 1067 | |
| 1068 | // NewIssues returns an Issues struct from a common.Errors object. |
| 1069 | func NewIssues(errs *common.Errors) *Issues { |
| 1070 | return NewIssuesWithSourceInfo(errs, nil) |
| 1071 | } |
| 1072 | |
| 1073 | // NewIssuesWithSourceInfo returns an Issues struct from a common.Errors object with SourceInfo metatata |
| 1074 | // which can be used with the `ReportErrorAtID` method for additional error reports within the context |