uploadCollisionExit top-level constant

int const uploadCollisionExit

What cux_ship exits with when UploadCollisionException is raised.

A number, because a shell wrapper cannot match on a Dart type. The class above has existed since 3.3.0 saying it "gives the CLI a distinct exit code"; it did not, so the only thing a wrapper could see was 1 — the same as every other failure, including the tolerable one it deliberately swallows.

3 rather than 1, and not 2, which screenshots flatten --check already uses for "there is work to do". Deliberately not 65 or any other sysexits value: those describe categories a caller might already be branching on, and this needs to be unmistakably one thing.

Implementation

const uploadCollisionExit = 3;