Add a `default` branch that assigns to `never` so adding a union member becomes a compile error until handled.
Why This Matters
Without an exhaustiveness check, a new union variant slips through unhandled and silently falls to default behavior at runtime.
Related Rules
Catch this automatically on every PR
BeforeMerge scans your pull requests against this rule and dozens more. Get actionable feedback before code ships.