Bootstrapper.Program.WriteError C# (CSharp) Метод

WriteError() приватный статический Метод

private static WriteError ( Exception e ) : void
e System.Exception
Результат void
        private static void WriteError(Exception e)
        {
            var currentColor = Console.ForegroundColor;
            try
            {
                Console.ForegroundColor = ConsoleColor.Red;
                Console.Error.WriteLine(e.GetBaseException().Message);
            }
            finally
            {
                Console.ForegroundColor = currentColor;
            }
        }
    }