MTMCL.App.Dispatcher_UnhandledException C# (CSharp) Method

Dispatcher_UnhandledException() private method

private Dispatcher_UnhandledException ( object sender, System e ) : void
sender object
e System
return void
        private void Dispatcher_UnhandledException(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e)
        {
            e.Handled = true;
            if (e.Exception is XamlParseException)
            {
                if (e.Exception.InnerException != null)
                {
                    if (e.Exception.InnerException is FileLoadException)
                    {

                        return;
                    }
                }
            }
            var crash = new ErrorReport(e.Exception);
            crash.Show();
        }