@jreback does this bubble up to the user? If so, should probably be `TypeError` or `ValueError`.