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’)).
RuntimeError
Initialize self. See help(type(self)) for accurate signature. |
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)¶Initialize self. See help(type(self)) for accurate signature.