Better Error When Vertex or Edge Type Not Defined