mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Documents when to use `throwToolExit` and how to use it. Replaces every invocation of `throw ToolExit` with `throwToolExit` and makes the former impossible; this is so that every user will at least (hypothetically) have the chance to read the documentation attached to `throwToolExit` (and if we change parameters in the future they will all flow through one place).