Inheritance |
|
There are occasionally methods in the HOM API where you must pass a sequence of values of an exact length… such as one value for each point in a geometry. If the sequence you pass to the method is the wrong size, Houdini raises 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.