Even though subclassing generally makes it so methods only appear on objects that support them, there are node types that have optional features, or node types that might work differently from “normal” nodes (such as subnetworks and managers).
Methods from hou.Error
Return a description of the class of exception. The description is not related to the exception instance.
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
You can also use
str(e.__class__) to get the name of the subclass.
Return a message specific to the exception instance.