Skip to content

Commit 9dde9b9

Browse files
authored
👍 Clarify runtime error message. (#30)
1 parent f6cd85f commit 9dde9b9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/node.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,8 @@ class Node {
174174
return *child;
175175
}
176176
}
177-
throw std::runtime_error("Object containing this key doesn't exist.");
177+
throw std::runtime_error("Object containing the key \"" + _key +
178+
"\" doesn't exist.");
178179
}
179180

180181
/**

0 commit comments

Comments
 (0)