def __init__(self, string=''):
    ' Initialize the exception\n\n        :param string: The message to append to the error\n        '
    message = ('[Invalid Message] %s' % string)
    ModbusException.__init__(self, message)
Initialize the exception

:param string: The message to append to the error
def __init__(self, string=):
    ' Initialize the exception\n\n        :param string: The message to append to the error\n        '
    message = ('[Invalid Message] %s' % string)
    ModbusException.__init__(self, message)