Dashboard › Knowledge › Throw on unexpected values
01a03931-77d9-7698-a118-137f6b3532f4Always 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.