MatchError from non‑exhaustive pattern match on sealed trait
Goal Guarantee that user‑facing workflows never throw a MatchError because a pattern match on a sealed hierarchy is missing cases. Constraints and uncertainty Scala 3 emits an exhaustiveness warning for incomplete matches on sealed traits, while Scala 2 may allow the same code to compile silently. The warning can be suppressed with @nowarn , which hides the