toErrors
Collects error report units of concrete type U in this to produce top-level key for error kind K.
This is generic for different error kinds because they follow the same static nature of report fields, in which all fields are constant and must be present, as opposed to toStageReports.
Usage: