It'll be KeyError right now, but ValueError is probably more appropriate, can do.