DashboardKnowledgeThrow on unexpected values

Throw on unexpected values

Category: preference
Confidence: 1.00
ID: 01a03931-77d9-7698-a118-137f6b3532f4
Project ID: (global)
Cross-project: Yes
Recalled in other projects: 0
Source session: 1bwAST7ENFvDRuqqJ
Created: 2026-08-25 13:52:18
Updated: 2026-08-25 13:52:18

Content

Always throw for unexpected values, especially default switch cases and unrecognized configuration or state values. Chose fail-closed errors over silently returning, defaulting, or ignoring values because permissive handling conceals protocol drift and lets invalid release state proceed.

Move to: