@classmethod
    def get_from_code(cls, code):
        return cls.code_to_error.get(code)
A simple way of getting the Exception class of an http error from http
dataset/ETHPy150Open pyGrowler/Growler/growler/http/errors.py/HTTPError.get_from_code