Inheritance |
|
Often, Houdini can resolve name conflicts automatically (for example, if you try to create a node named sphere1
and a node with that name already exists, by default most API calls will create a node named sphere2
instead). In cases where a naming conflict prevents an API call from working, and it can’t be automatically resolved (or automatic resolution is an option you have disabled in an argument), Houdini will raise this exception.
¶
Methods from hou.Error ¶
description()
→ str
Return a description of the class of exception. The description is not related to the exception instance.
exceptionTypeName()
→ str
Return the name of the exception type. Instances of different
subclasses of hou.Error will return different names. Instances of the
base class will return "Error"
.
You can also use str(e.__class__)
to get the name of the subclass.
instanceMessage()
→ str
Return a message specific to the exception instance.