# wx.lib.pubsub.core.callables.ListenerMismatchError¶

Raised when an attempt is made to subscribe a listener to a topic, but listener does not satisfy the topic’s message data specification (MDS). This specification is inferred from the first listener subscribed to a topic, or from an imported topic tree specification (see pub.addTopicDefnProvider()).

## Class Hierarchy¶

Inheritance diagram for class ListenerMismatchError:

## Known Superclasses¶

ValueError

## Methods Summary¶

 __init__ Initialize self. See help(type(self)) for accurate signature.

## Class API¶

class ListenerMismatchError(ValueError)

Raised when an attempt is made to subscribe a listener to a topic, but listener does not satisfy the topic’s message data specification (MDS). This specification is inferred from the first listener subscribed to a topic, or from an imported topic tree specification (see pub.addTopicDefnProvider()).

### Methods¶

__init__(self, msg, listener, *args)

Initialize self. See help(type(self)) for accurate signature.