/// <summary>
        /// Serialize ApplicationException type error response into JSON String
        /// </summary>
        public void PackErrorMessage(ApplicationException ex, out string result)
        {
            KwasantPackagedMessage curError = new KwasantPackagedMessage();

            curError.Name    = "LIKI API Error";
            curError.Message = ex.Message;
            result           = jsonSerializer.Serialize(curError);
        }
        public void PackErrorMessage(ArgumentException ex, out string result)
        {
            KwasantPackagedMessage curError = new KwasantPackagedMessage();

            if (ex.ParamName != null)
            {
                curError.Name    = ex.ParamName;
                curError.Message = ex.Message;
            }
            else
            {
                curError.Name    = "Kwasant API Error";
                curError.Message = "The call to the API could not be processed";
            }
            result = jsonSerializer.Serialize(curError);
        }