Home | Trees | Indices | Help |
|
---|
|
object --+ | exceptions.BaseException --+ | exceptions.Exception --+ | exceptions.StandardError --+ | Error --+ | ProtocolError
Raised when there is something wrong with a stanza processed.
When not processed earlier by an application, the exception will be catched by the stanza dispatcher to return XMPP error to the stanza sender, when allowed.
ProtocolErrors handled internally by PyXMPP will be logged via the logging interface. Errors reported to the sender will be logged using "pyxmpp.ProtocolError.reported" channel and the ignored errors using "pyxmpp.ProtocolError.ignored" channel. Both with the "debug" level.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
logger_reported = logging.getLogger("pyxmpp.ProtocolError.repo
|
|||
logger_ignored = logging.getLogger("pyxmpp.ProtocolError.ignor
|
|
|||
xmpp_name -- XMPP error name which should be reported. |
|||
message -- the error message. |
|
|||
Inherited from Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
|
repr(x)
|
|
logger_reported
|
logger_ignored
|
|
xmpp_name-- XMPP error name which should be reported.
|
message-- the error message.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun May 8 13:34:59 2011 | http://epydoc.sourceforge.net |