WhatsAppApi.Response.MessageRecvResponse.TypeError C# (CSharp) Method

TypeError() private method

private TypeError ( ProtocolTreeNode messageNode, string tmpAttrbId, string tmpAttrFrom ) : void
messageNode WhatsAppApi.Helper.ProtocolTreeNode
tmpAttrbId string
tmpAttrFrom string
return void
        private void TypeError(ProtocolTreeNode messageNode, string tmpAttrbId, string tmpAttrFrom)
        {
            int num2 = 0;
            foreach (ProtocolTreeNode node in messageNode.GetAllChildren("error"))
            {
                string tmpCode = node.GetAttribute("code");
                try
                {
                    num2 = int.Parse(tmpCode, CultureInfo.InvariantCulture);
                }
                catch (Exception)
                {
                }
            }
            if ((tmpAttrFrom != null) && (tmpAttrbId != null))
            {
                FMessage.Key key = new FMessage.Key(tmpAttrFrom, true, tmpAttrbId);
                //ErrorHandler handler = null;
                //if (trackedMessages.TryGetValue(key, out handler))
                //{
                //    trackedMessages.Remove(key);
                //    handler.OnError(num2);
                //}
                //else
                //{
                //    this.EventHandler.OnMessageError(key, num2);
                //}
            }
        }