phoenix_title wx.lib.pubsub.core.listener.IListenerExcHandler

Interface class base class for any handler given to pub.setListenerExcHandler() Such handler is called whenever a listener raises an exception during a pub.sendMessage(). Example:

from pubsub import pub

class MyHandler(pub.IListenerExcHandler):
    def __call__(self, listenerID, topicObj):
        ... do something with listenerID ...

pub.setListenerExcHandler(MyHandler())

class_hierarchy Class Hierarchy

Inheritance diagram for class IListenerExcHandler:

api Class API

class IListenerExcHandler

Interface class base class for any handler given to pub.setListenerExcHandler() Such handler is called whenever a listener raises an exception during a pub.sendMessage(). Example:

from pubsub import pub

class MyHandler(pub.IListenerExcHandler):
    def __call__(self, listenerID, topicObj):
        ... do something with listenerID ...

pub.setListenerExcHandler(MyHandler())