def _set_error(self, err):
        if err is not None:
            self._error = aid.Enum(err[0], err[1])

    # Properties that return response components. This is a the primary
    # API to this object.
dataset/ETHPy150Open kdart/pycopia/WWW/pycopia/WWW/client.py/HTTPResponse._set_error/original