public static void CatchWinFormsExeptions(this CoderrConfiguration configurator)
 {
     if (configurator == null)
     {
         throw new ArgumentNullException(nameof(configurator));
     }
     WinFormsErrorReporter.Activate();
     Err.Configuration.ContextProviders.Add(new OpenFormsCollector());
 }
 /// <summary>
 ///     Take a screen shot of every form that is opened when an error happen.
 /// </summary>
 /// <param name="configurator">OneTrueError configurator (accessed through <see cref="Err.Configuration" />).</param>
 public static void TakeScreenshots(this CoderrConfiguration configurator)
 {
     if (configurator == null)
     {
         throw new ArgumentNullException(nameof(configurator));
     }
     WinFormsErrorReporter.Activate();
     Err.Configuration.ContextProviders.Add(new ScreenshotProvider(true));
 }