Skip to content

Raise exception when user attempts to get status of container not built by container service #40

@BenGalewsky

Description

@BenGalewsky

Problem

The container build status REST endpoint only makes sense for containers that were built by the container service. Right now if the endpoint is invoked on a manually created container it throws a ContainerNotFound exception which is not exactly correct or easy to make sense of.

Approach

Create a new exception class ContainerStatusNotValid to report this correctly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions