'Initialize the InfluxDBClientError handler.'

def __init__(self, content, code=None):

    if isinstance(content, type('')):
        content = content.decode(u'UTF-8', u'replace')
    if (code is not None):
        message = (u'%s:    %s' % (code, content))
    else:
        message = content
    super(InfluxDBClientError, self).__init__(message)
    self.content = content
    self.code = code
