debian-forge-composer/internal/worker/clienterrors
Tomas Hozza 6dcadc9d20 worker/osbuild: move target errors to detail of job error
Add a new worker client error type `ErrorTargetError` representing that
at least one of job targets failed. The actual target errors are added
to the job detail.

Add a new `OSBuildJobResult.TargetErrors()` method for gathering a slice
of target errors contained within an `OSBuildJobResult` instance. Cover
the method with unit test.
2022-07-01 18:55:01 +01:00
..
errors.go worker/osbuild: move target errors to detail of job error 2022-07-01 18:55:01 +01:00