SleekXMPP/sleekxmpp
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
..
features Enable forcing a specififc SASL mech: 2011-08-09 00:51:49 -07:00
plugins Update plugins that use Iq stanzas to work with new exceptions. 2011-08-17 21:30:47 -07:00
roster Add some convenience methods to rosters. 2011-08-18 00:07:37 -07:00
stanza Make Iq exceptions more discoverable and simpler to use. 2011-08-19 01:04:20 -07:00
test Merge branch 'develop' into roster 2011-08-12 16:47:58 -07:00
thirdparty Hotfix for ANONYMOUS mech support. 2011-08-05 14:06:58 -07:00
xmlstream Route all unhandled exceptions through XMLStream.exception. 2011-08-18 16:12:51 -07:00
__init__.py Hotfix for ANONYMOUS mech support. 2011-08-05 14:06:58 -07:00
basexmpp.py Make Iq exceptions more discoverable and simpler to use. 2011-08-19 01:04:20 -07:00
clientxmpp.py PEP8 edits 2011-08-18 02:46:48 -07:00
componentxmpp.py Merge branch 'develop' into roster 2011-08-12 16:47:58 -07:00
exceptions.py Make Iq exceptions more discoverable and simpler to use. 2011-08-19 01:04:20 -07:00