mitk.PropertyNotOwnedError#

exception mitk.PropertyNotOwnedError#

Bases: AttributeError

Raised when set_property() or remove_property() is called on a property that is provided read-only (not owned) by this object.

Subclass of AttributeError. Use property_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.