Implement the structured errors as defined by the worker client. Every error for each of the job types now returns a structured error with a reason and a specific error code. This will make it possible to differentiate between 4xx errors and 5xx errors. This commit refactors the way errors are implemented in the workers, but maintains backwards compatability in composer by checking for both kinds of errors. |
||
|---|---|---|
| .. | ||
| jobimpl-depsolve.go | ||
| jobimpl-koji-finalize.go | ||
| jobimpl-koji-init.go | ||
| jobimpl-osbuild-koji.go | ||
| jobimpl-osbuild.go | ||
| main.go | ||
| osbuild.go | ||