[Twisted-Python] Getting error code
Sorin C.
soso_pub at yahoo.com
Thu May 13 12:18:07 MDT 2004
Hi,
Is there a way to extract the error code from a
Failure instance? For example when
clientConnectionFailed is called the 'value' field of
the Failure instance is 'Connection was refused by
other side: 10061: Unknown error.'. Can I get 10061
somehow as I don't feel safe parsing this string.
Thanks,
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