module documentation
XMPP Error support.
| Exception | |
Base class for XMPP error exceptions. |
| Exception | |
Stanza Error exception. |
| Exception | |
Stream Error exception. |
| Function | exception |
Build an exception object from an error stanza. |
| Function | exception |
Build an exception object from a stream error. |
| Constant | CODES |
Undocumented |
| Constant | NS |
Undocumented |
| Constant | NS |
Undocumented |
| Constant | NS |
Undocumented |
| Constant | STANZA |
Undocumented |
| Function | _parse |
Parses an error element. |
Build an exception object from an error stanza.
| Parameters | |
stanza:domish.Element | the error stanza |
| Returns | |
StanzaError | the generated exception object |
Build an exception object from a stream error.
| Parameters | |
element:domish.Element | the stream error |
| Returns | |
StreamError | the generated exception object |
Undocumented
| Value |
|
Undocumented
| Value |
|
Parses an error element.
| Parameters | |
error:domish.Element | The error element to be parsed |
| error | The namespace of the elements that hold the error condition and text. |
| Returns | |
| dict | Dictionary with extracted error information. If present, keys condition, text, textLang have a string value, and appCondition has an domish.Element value. |