def __init__(self, message, content, code):
        self.args = (message, content, code)
        self.message = message
        self.content = content
        self.code = code
        if code in responses:
            self.code_reason = responses[code]
        else:
            self.code_reason = "<unknown status code>"
            LOGGER.warning('Unknown HTTP status %r, please file an issue',
                           code)
Create a HttpError exception.
dataset/ETHPy150Open ask/python-github2/github2/request.py/HttpError.__init__