summaryrefslogtreecommitdiff
path: root/sleekxmpp/exceptions.py
blob: 9df51700f4403f3d8627dc8c20bbab4d8992885d (plain)
1
2
3
4
5
6
7
8
class XMPPError(Exception):
	def __init__(self, condition='undefined-condition', text=None, etype=None, extension=None, extension_ns=None, extension_args=None):
		self.condition = condition
		self.text = text
		self.etype = etype
		self.extension = extension
		self.extension_ns = extension_ns
		self.extension_args = extension_args