Add some macros for error checking
Add some macros for error checking

pokyfudywise/HoudiniEngineForMaya,sideeffects/HoudiniEngineForMaya,pokyfudywise/HoudiniEngineForMaya,sideeffects/HoudiniEngineForMaya,pokyfudywise/HoudiniEngineForMaya,sideeffects/HoudiniEngineForMaya