I think this should still raise an exception, perhaps just a ValueError?