Better error when adding an edge to a non-existent vertex.