ValueError or RuntimeError would be fine.