We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08a7f74 commit 1d1d8aeCopy full SHA for 1d1d8ae
neo/core/objectlist.py
@@ -34,7 +34,7 @@ def _handle_append(self, obj):
34
raise TypeError(f"Object is a {type(obj)}. It should be one of {self.allowed_contents}.")
35
36
if self._contains(obj):
37
- raise ValueError("Cannot add the same object twice")
+ raise ValueError("Cannot add this object because it is already contained within the list")
38
39
# set the child-parent relationship
40
if self.parent:
0 commit comments