| 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. | 
| Constant | CODES_TO_CONDITIONS | Undocumented | 
| Constant | NS_XML | Undocumented | 
| Constant | NS_XMPP_STANZAS | Undocumented | 
| Constant | NS_XMPP_STREAMS | Undocumented | 
| Constant | 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 | 
Undocumented
| Value | 
|  | 
Undocumented
| Value | 
|  | 
| 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.Elementvalue. |