NewIssues returns an Issues struct from a common.Errors object.
(errs *common.Errors)
| 1013 | |
| 1014 | // NewIssues returns an Issues struct from a common.Errors object. |
| 1015 | func NewIssues(errs *common.Errors) *Issues { |
| 1016 | return NewIssuesWithSourceInfo(errs, nil) |
| 1017 | } |
| 1018 | |
| 1019 | // NewIssuesWithSourceInfo returns an Issues struct from a common.Errors object with SourceInfo metatata |
| 1020 | // which can be used with the `ReportErrorAtID` method for additional error reports within the context |