code: def as_security_error(node, secid):
          
          assert node.Name == 'securityError'
          src = XmlHelper.get_child_value(node, 'source')
          code = XmlHelper.get_child_value(node, 'code')
          cat = XmlHelper.get_child_value(node, 'category')
          msg = XmlHelper.get_child_value(node, 'message')
          subcat = XmlHelper.get_child_value(node, 'subcategory')
          return SecurityError(security=secid, source=src, code=code, category=cat, message=msg, subcategory=subcat)
docs: convert the securityError element to a SecurityError