Feature or enhancement
Currently it imitates the error message for list.remove() and other collections: "Element.remove(x): element not found". But Element is not a general collection, so reasons for such error message are not applicable:
- It can only contain other elements.
- It may be useful to know what exact element was removed and from where. Their repr is limited, so it can be included in the error message.
Linked PRs
Feature or enhancement
Currently it imitates the error message for
list.remove()and other collections: "Element.remove(x): element not found". ButElementis not a general collection, so reasons for such error message are not applicable:Linked PRs