private static bool ErrorReported(JsonError error)
        {
            try
            {
                string endpoint    = $"{Paths.WisVisErrors}";
                string strResponse = API.Post(endpoint, error);
                bool   messageSent = JsonConvert.DeserializeObject <bool>(strResponse);

                return(messageSent);
            }
            catch
            {
                return(false);
            }
        }
        public static void ReportOrLog(Exception e)
        {
            try
            {
                JsonError error = new JsonError()
                {
                    ActNum      = $"(ApiKey={Memory.Storage.Config?.ApiKey ?? "NOT SET"})",
                    Error       = e.ToString(),
                    Application = Assembly.GetCallingAssembly().GetName().Name,
                    AppVersion  = System.Reflection.Assembly.GetEntryAssembly().GetName().Version.ToString()
                };

                if (!ErrorReported(error))
                {
                    WriteError(error.Error);
                }
            }
            catch (Exception error)
            {
                WriteError(error.ToString());
            }
        }