def init_response_attributes(self, etree):
        self.status = Statuses.ERRED
        try:
            self.details = etree.xpath(
                '//soapenv:Text', namespaces={'soapenv': self.soapenv_namespace}
            )[0].text
        except (IndexError, lxml.etree.XMLSchemaError) as e:
            raise ResponseParseError(
                'Cannot parse error status response: %s. Response content: %s'
                % (e, lxml.etree.tostring(etree))
            )