mitk.PropertyNotOwnedError#
- exception mitk.PropertyNotOwnedError#
Bases:
AttributeErrorRaised when
set_property()orremove_property()is called on a property that is provided read-only (not owned) by this object.Subclass of
AttributeError. Useproperty_is_owned()to check before writing.- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- name#
attribute name
- obj#
object
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.