Esempio n. 1
0
 public void SendError(UnityRequestException error)
 {
     if (this.IsRequest)
     {
         this.ResponseSent = true;
         UnityMessageManager.SendError(
             this.Message.id,
             this.Message.uuid.Value,
             error);
     }
     else
     {
         Debug.unityLogger.LogError("messaging", "This message is not a request type.");
     }
 }
Esempio n. 2
0
            public void SendError(UnityRequestException error)
            {
                if (this.IsRequest)
                {
                    this.ResponseSent = true;

                    if (string.IsNullOrEmpty(error.rawInput))
                    {
                        error.rawInput = this.raw;
                    }

                    Debug.LogError(error);

                    UnityMessageManager.SendError(
                        this.Message.id,
                        this.Message.uuid.Value,
                        error);
                }
                else
                {
                    Debug.unityLogger.LogError("messaging", "This message is not a request type.");
                }
            }