Define worker errors to give more structured
error messages. The error api is:
id: VALIDATION_ERROR_NUMBER, reason: STRING, details: { issues: [{...}, {...}] }
The api was agreed upon with osbuild so that,
in future, osbuild errors will share the same
structure
|
||
|---|---|---|
| .. | ||
| api | ||
| clienterrors | ||
| client.go | ||
| json.go | ||
| server.go | ||
| server_test.go | ||