def __unicode__(self):
        if not self.args:
            return u'Bad request'
        return u'Bad request: %s' % self.args[0]
dataset/ETHPy150Open stepank/pyws/src/pyws/errors.py/BadRequest.__unicode__/original