Mycroft.Messages.ParseException.Serialize C# (CSharp) Method

Serialize() public method

Serialize this to exception to json as defined in Mycroft.Msg.MsgGeneralFailure.Serialize
public Serialize ( ) : string
return string
        public string Serialize()
        {
            var msgFail = new Msg.MsgGeneralFailure();
            msgFail.Message = Message;
            msgFail.Received = Received;
            return msgFail.Serialize();
        }