wx.lib.pubsub.core.topicexc.MessageDataSpecError¶

Raised when an attempt is made to define a topic’s Message Data Specification (MDS) to something that is not valid.

The keyword names for invalid data go in the ‘args’ list, and the msg should state the problem and contain “%s” for the args, such as MessageDataSpecError(‘duplicate args %s’, (‘arg1’, ‘arg2’)).

Class Hierarchy¶

Inheritance diagram for class MessageDataSpecError:

Known Superclasses¶

RuntimeError

Methods Summary¶

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

Class API¶

class MessageDataSpecError(RuntimeError)

Raised when an attempt is made to define a topic’s Message Data Specification (MDS) to something that is not valid.

The keyword names for invalid data go in the ‘args’ list, and the msg should state the problem and contain “%s” for the args, such as MessageDataSpecError(‘duplicate args %s’, (‘arg1’, ‘arg2’)).

Methods¶

__init__(self, msg, args)

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