title: Exception handling in BenchmarkDotNet
body: <p>I have a set of HTTP calls to benchmark:</p>
  
  <pre><code>public class HttpExamples
  {
  
      [Benchmark]
      public void GetExampleCom()
      {
          var request = WebRequest.CreateHttp("http://example.com");
          var webResponse = request.GetResponse();
      }
  
      [Benchmark]
      public void GetExampleComSsl()
      {
          var request = WebRequest.CreateHttp("https://example.com");
          var webResponse = request.GetResponse();
      }
  }
  </code></pre>
  
  <p>Occasionally, one of the requests will fail for some reason.  At present, this seems to halt the bench-marking, what I'd prefer would be for it to handle the exception in some way.</p>
  
  <p>Can this be achieved?</p>
  
  <p>I'd like to:</p>
  
  <ul>
  <li>Eliminate failures from results.</li>
  <li>Flag that they happened</li>
  </ul>
  
  <p>Bonus points:</p>
  
  <ul>
  <li>Keep measures of failures so we can see how failures affect results.</li>
  <li>Be able to see results for different types of exceptions.</li>
  <li>Do a 'thing' on failure (clean up  some what)</li>
  </ul>