SleekXMPP/sleekxmpp/stanza
Lance Stout f92f96325a Make Iq exceptions more discoverable and simpler to use.
IqError and IqTimeout now extend XMPPError, so if you don't care
about the difference, you can use:

    try:
        self.do_something_with_iqs()
    except XMPPError:
        # Error? Timeout? I don't care!
        pass

If you do need to distinguish between timeouts and error replies,
you can still continue to use:

    try:
        self.do_somethin_with_iqs()
    except IqError as err:
        pass
    except IqTimeout:
        pass

If you don't catch any Iq errors and you're processing a stanza
then an error response will be sent, just like normal if you raise
XMPPError or any other exception, except that the error messages
will be generic to prevent leaking too much information.
2011-08-19 01:04:20 -07:00
..
__init__.py Continued reorganization and streamlining. 2011-07-01 14:45:55 -07:00
atom.py
error.py Fix ordering bug when retrieving an error condition. 2011-07-02 22:50:31 -07:00
htmlim.py Remap old method names in a better way. 2011-02-14 13:49:43 -05:00
iq.py IqTimeout now references the original sent stanza. 2011-06-01 15:28:33 -07:00
message.py Fix stanza clobbering when replying to errors. 2011-06-20 16:25:56 -07:00
nick.py Remap old method names in a better way. 2011-02-14 13:49:43 -05:00
presence.py Remap old method names in a better way. 2011-02-14 13:49:43 -05:00
rootstanza.py Make Iq exceptions more discoverable and simpler to use. 2011-08-19 01:04:20 -07:00
roster.py Merge branch 'develop' into roster 2011-02-14 16:18:44 -05:00
stream_error.py Continued reorganization and streamlining. 2011-07-01 14:45:55 -07:00
stream_features.py Fix XEP-0078 using the new stream feature workflow. 2011-08-06 12:30:56 -07:00