On 06/18/2013 05:24 PM, Glyph wrote:

Hrm. I would say that if you don't document exceptions, then you just have to support whatever your behavior was before :).

http://twistedmatrix.com/trac/wiki/CompatibilityPolicy does not explore this issue, though.

The many possible options in this case include ConnectionDone/ConnectionLost/SSL errors and then a few other random errors (LineTooLong, ServerGreetingError). Etc. In general for these situations it seems like the range of errors is wide enough you always need a catch-all error handler anyway.

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to