def __init__(self, code):
        super(HttpError, self).__init__()
        self.status = '%d %s' % (code, _RESPONSE_STATUSES[code])
Init an HttpError with response code.
dataset/ETHPy150Open michaelliao/transwarp/transwarp/web.py/HttpError.__init__