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
OCIImageResourceError and CheckFailed have
.statusattribute 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 theexcept (CheckFailed, NoVersionsListed, ...)block