title: How do I ignore an error returned from a Rust function and proceed regardless?
body: <p>When it is known that some piece of code might throw an error, we make use of <code>try/catch</code> blocks to ignore such errors and proceed. This is done when the error is not that important but maybe we only want to log it:</p>
  
  <pre class="lang-java prettyprint-override"><code>try{
      int i = 1/0;
  } catch( ArithmeticException e){
      System.out.println("Encountered an error but would proceed.");
  } 
  x = y;
  </code></pre>
  
  <p>Such a construct in Java would continue on to execute <code>x = y;</code>.</p>
  
  <p>Can I make use of <code>match</code> to do this or any other construct?</p>
  
  <p>I do see a <code>try!</code> macro, but perhaps it would return in case of an error with the return type of the method as <code>Result</code>.</p>
  
  <p>I want to use such a construct in a UT to ensure it continues to run even after an error has occurred.</p>