NewIssues returns an Issues struct from a common.Errors object.
(errs *common.Errors)
| 977 | |
| 978 | // NewIssues returns an Issues struct from a common.Errors object. |
| 979 | func NewIssues(errs *common.Errors) *Issues { |
| 980 | return NewIssuesWithSourceInfo(errs, nil) |
| 981 | } |
| 982 | |
| 983 | // NewIssuesWithSourceInfo returns an Issues struct from a common.Errors object with SourceInfo metatata |
| 984 | // which can be used with the `ReportErrorAtID` method for additional error reports within the context |