comparison twisted/plugins/sat_plugin.py @ 3899:1e64f1ed3ebd

plugin XEP-0060: raise an `NotFound` exception instead of StanzaError in `subscribe`: `exceptions.NotFound` is now raised in stead of `item-not-found` `StanzaError` for consistency with `getItems` and because it's easier to catch (condition has to be checked when `StanzaError` is received). rel 372
author Goffi <goffi@goffi.org>
date Wed, 21 Sep 2022 22:32:36 +0200
parents f9a5b810f14d
children 524856bd7b19
comparison
equal deleted inserted replaced
3898:022ae35a9d82 3899:1e64f1ed3ebd