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’)).
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’)).
__init__
(self, msg, args)¶