'Parse error responses from Aliyun.'

def parse_error(self):

    body = super(AliyunXmlResponse, self).parse_error()
    (code, message) = self._parse_error_details(element=body)
    request_id = findtext(element=body, xpath='RequestId', namespace=self.namespace)
    host_id = findtext(element=body, xpath='HostId', namespace=self.namespace)
    error = {'code': code, 'message': message, 'request_id': request_id, 'host_id': host_id}
    return u(error)
