AFAICT this function only gets called from one place with the form above. This catchall clause seems like a good place to fail fast.