Skip to content

cloudapi: More explicit error handling #1324

Open
@croissanne

Description

@croissanne

In some error cases we need to return a more detailed/well defined (as in, with openapi schemas) error objects.

Specifically if we get depsolve errors in /compose, we currently return an internal server error and the first depsolve error we encounter. It would be better to define an error object in the api spec, so it's more usable in image-builder (and other clients).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions