Base class for all exceptions in the hou module.
You can check if an exception instance is a Houdini-specific exception
using isinstance(ex, hou.Error).
Methods
| description | Return a description of the class of exception. The description is not related to the exception instance. |
| exceptionTypeName | 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". |
| instanceMessage | Return a message specific to the exception instance. |
description(self)→strReturn a description of the class of exception. The description is not related to the exception instance.
exceptionTypeName(self)→strReturn 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(self)→strReturn a message specific to the exception instance.