| On this page | |
| Inheritance | 
 | 
Overview ¶
For example, MPM tools are only available to be created with a Houdini FX license. Attempting to create a node of that type using Houdini Core will raise this error:
>>> node = hou.node("/obj/geo1") >>> newnode = node.createNode("mpmcollider") Traceback (most recent call last): ... hou.LicenseError: Not available in current session.
¶
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.