debian-forge-composer/internal/weldr
Michael Vogt 573b349f16 clienterrors: rename WorkerClientError to clienterrors.New
The usual convention to create new object is to prefix `New*` so
this commit renames the `WorkerClientError`. Initially I thought
it would be `NewWorkerClientError()` but looking at the package
prefix it seems unneeded, i.e. `clienterrors.New()` already
provides enough context it seems and it's the only error we
construct.

We could consider renaming it to `clienterror` (singular) too
but that could be a followup.

I would also like to make `clienterror.Error` implement the
`error` interface but that should be a followup to make this
(mechanical) rename trivial to review.
2024-07-31 17:04:58 +02:00
..
api.go osbuild/images update: ignore repoconfigs where appropriate 2024-04-17 10:27:08 +02:00
api_test.go weldr: update expected error messages 2024-07-04 19:01:07 +02:00
compose.go weldr: rename C{Waiting,Running,Finished,Failed} 2020-11-09 14:17:19 +01:00
compose_test.go clienterrors: rename WorkerClientError to clienterrors.New 2024-07-31 17:04:58 +02:00
json.go cloudapi: Add module_hotfixes flag 2023-12-20 09:02:06 +01:00
responses_test.go weldr: update expected error messages 2024-07-04 19:01:07 +02:00
upload.go weldr: define the pulp.ostree upload settings 2023-10-18 21:14:46 +02:00
util.go composer/job-queue: add scaffolding for the job queue API 2019-09-26 19:53:06 +02:00