[Newbie] error handling

Fulvio fulvio at tm.net.my
Wed Oct 11 15:08:02 CEST 2006

Your mail has been scanned by InterScan MSS.

Hello there,

Simple question : how do I manage errors by the use "try/except" clause.
If I'd like to catch error coming from a function call that's using IMAP4 
class, which error may raise such class?
In other words I've doubts about which error object I should put after 
the "except" statement in order to trap the wanted error.

Is there, somehow, the way to list the errors from a class or function, prior 
digging into the source?


More information about the Python-list mailing list