title: How do I know what exception to catch?
body: <p>I am dealing with an exception with <a href="https://stackoverflow.com/questions/37883057">this message</a>. It is not a <code>StandardError</code>.</p>
  
  <p>I caught it by catching the <code>Exception</code> class, but <a href="https://stackoverflow.com/questions/10048173">a post</a> tells it is a bad solution. How do I determine what exception to catch?</p>