__init__(self,
xmlnode_or_cond,
error_type=None,
copy=1,
parent=None)
(Constructor)
| source code
|
Initialize a StreamErrorNode object.
- Parameters:
xmlnode_or_cond (libxml2.xmlNode or unicode ) - XML node to be wrapped into this object
or the primary (defined by XMPP specification) error condition name.
error_type (unicode ) - type of the error, one of: 'cancel', 'continue',
'modify', 'auth', 'wait'.
copy (bool ) - When True then the XML node will be copied,
otherwise it is only borrowed.
parent (libxml2.xmlNode ) - Parent node for the XML node to be copied or created.
- Overrides:
ErrorNode.__init__
|