From 84e088001ddb91cb975de32ae26925bc66873da3 Mon Sep 17 00:00:00 2001 From: Liu Jiajun <85552719+jasinliu@users.noreply.github.com> Date: Fri, 26 Jan 2024 18:28:03 +0800 Subject: [PATCH] [Chore][C++] fix err message (#345) --- cpp/src/graph.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/graph.cc b/cpp/src/graph.cc index bc3332263..3b9ea48a4 100644 --- a/cpp/src/graph.cc +++ b/cpp/src/graph.cc @@ -170,7 +170,7 @@ Result Edge::property(const std::string& property) const { } else { if (properties_.find(property) == properties_.end()) { return Status::KeyError("Property with name ", property, - " does not exist in the vertex."); + " does not exist in the edge."); } try { T ret = std::any_cast(properties_.at(property));