def __init__(self, string=''):
    message = ('[Error registering message] %s' % string)
    ModbusException.__init__(self, message)
def __init__(self, string=):
    message = ('[Error registering message] %s' % string)
    ModbusException.__init__(self, message)