Hi Justin, thanks for getting back!
Earlier you have mentioned that in those two functions I have, raising 
Exception is not ideal. In that case, will it do any better if I used IOError 
within the init function and use that instead?

Also, a rather noob question from me. While before I do or know any handling, 
if I try to 'break' my code, I can know what error to use, eg. valueerror etc.
But as there are times such traceback error is not shown , using my scenario, 
if type is an empty string, I do not know which to use as it prompt of no such 
error type. How do I know which is the correct to use? 
I use ioerror, did some trial and error, seems to work and hence did not 
thought much of it..

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/89048a7a-3b28-406f-b9a0-b343fe3d2279%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to