hou.Error class
Base class for all exceptions in the hou module.
Subclasses: hou.GeometryPermissionError , hou.InvalidNodeType , hou.SystemExit , hou.InvalidSize , hou.ObjectWasDeleted , hou.TypeError , hou.NotAvailable , hou.OperationFailed , hou.MatchDefinitionError , hou.PermissionError , hou.InvalidNodeName , hou.InitScriptFailed , hou.InvalidInput , hou.ValueError , hou.LoadWarning , hou.KeyframeValueNotSet , hou.OperationInterrupted
You can check if an exception instance is a Houdini-specific exception using isinstance(ex, hou.Error).
Methods
description(self)→str-
Return a description of the class of exception. The description is not related to the exception instance.
exceptionTypeName(self)→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(self)→str-
Return a message specific to the exception instance.