Example #1
0
        public void UpdateQueryException()
        {
            if (FusionQueryException == null && F.LiveState?.HasError != true)
            {
                return;
            }

            if (F.LiveState?.Error != null)
            {
                FusionQueryException = new ExceptionStore(F.LiveState.Error);
            }
            else
            {
                FusionQueryException = null;
            }
        }
Example #2
0
        protected void UpdateCommandException(Exception?e)
        {
            if (FusionCommandException == null && e == null)
            {
                return;
            }

            if (e != null)
            {
                FusionCommandException = new ExceptionStore(e);
            }
            else
            {
                FusionCommandException = null;
            }
        }