def _error_message(self, exception):
    if (len(exception.args) == 1):
        return ('Error connecting to unix socket: %s. %s.' % (self.path, exception.args[0]))
    else:
        return ('Error %s connecting to unix socket: %s. %s.' % (exception.args[0], self.path, exception.args[1]))
def _error_message(self, exception):
    if (len(exception.args) == 1):
        return ('Error connecting to unix socket: %s. %s.' % (self.path, exception.args[0]))
    else:
        return ('Error %s connecting to unix socket: %s. %s.' % (exception.args[0], self.path, exception.args[1]))