'Parse errors from the response body.
:return: List of error objects.
:rtype: ``list`` of :class:`.CloudSigmaError` objects'

def _parse_errors_from_body(self, body):

    errors = []
    if (not isinstance(body, list)):
        return None
    for item in body:
        if ('error_type' not in item):
            continue
        error = CloudSigmaError(http_code=self.status, error_type=item['error_type'], error_msg=item['error_message'], error_point=item['error_point'], driver=self.connection.driver)
        errors.append(error)
    return errors
