[Twisted-Python] Getting error code

Sorin C. soso_pub at yahoo.com
Thu May 13 15:19:37 EDT 2004


--- Itamar Shtull-Trauring <itamar at itamarst.org>
wrote:
>  A better idea would be to
> go by exception
> type, e.g. in this case you should be getting a
> twisted.internet.error.ConnectionRefusedError or
> something instance as
> the value object.
 
Thanks, by type indeed is better.

Sorin



	
		
__________________________________
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2'
http://movies.yahoo.com/showtimes/movie?mid=1808405861 




More information about the Twisted-Python mailing list