Adds service error types to be used by the reports service and conversions to HTTP error responses.
Depends on D8951
Tested together with next diffs