Skip to content

Refactor Exceptions to include .status #26

@ca-scribner

Description

@ca-scribner

OCIImageResourceError and CheckFailed have .status attribute that make automatically raising a status from an exception easy like shown here. We should adopt the same pattern here so we can remove helpers like this entirely and instead just handle multiple exceptions in the except (CheckFailed, NoVersionsListed, ...) block

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Labeled

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions