Class | BaseError |
Base class for XMPP error exceptions. |
Class | StanzaError |
Stanza Error exception. |
Class | StreamError |
Stream Error exception. |
Function | exceptionFromStanza |
Build an exception object from an error stanza. |
Function | exceptionFromStreamError |
Build an exception object from a stream error. |
Variable | CODES_TO_CONDITIONS |
Undocumented |
Variable | NS_XML |
Undocumented |
Variable | NS_XMPP_STANZAS |
Undocumented |
Variable | NS_XMPP_STREAMS |
Undocumented |
Variable | STANZA_CONDITIONS |
Undocumented |
Function | _parseError |
Parses an error element. |
Parameters | |
stanza:domish.Element | the error stanza |
Returns | |
StanzaError | the generated exception object |
Parameters | |
element:domish.Element | the stream error |
Returns | |
StreamError | the generated exception object |
Parameters | |
error:domish.Element | The error element to be parsed |
errorNamespace:str | 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. |