noSuchVersionExit top-level constant
What cux_ship exits with when Apple holds no version by the name asked
for.
An ordinary state on the way to a release, not a failure, and that is the whole argument. Every run before the version is created looks like this: a readiness check asking "is the store showing 1.1.8's listing?" before anybody has made a 1.1.8 is not broken, it has its answer.
Without a code of its own it arrived as 1 — which cli.dart also uses for
wrong credentials, a network that went away, a metadata tree that will not
load, and every unrecognised exception. So a consumer had three options and
all of them were bad: match the prose, which is the failure this package
exists to prevent; report "a store could not be read", which is a
plausible-looking lie on the commonest path; or not ask.
5 by the rule previewsPendingExit states: one code per distinct condition, and a new condition takes a new number rather than joining an old one. "Apple does not hold this version" passes that test the same way "Apple has not finished ingesting" did — it is a state a caller branches on rather than reads.
Raised as NoSuchVersion, which subclasses AscApiException so nothing
loses the formatted 404 it already printed.
Implementation
const noSuchVersionExit = 5;