pub fn invariance_violation() -> Error
Builds a generic “Invariance violation” error for an unreachable state that nonetheless needs a value rather than a panic.