Reject impossible states early so the happy path is short and trustworthy. Interviewers often reward fail-fast reasoning because it shows you think about state control, not only syntax.
The strongest answers connect the feature to reasoning and tradeoffs instead of reciting syntax.
Additional Notes
How should you explain guard clauses in an interview?