title: play sound when Jupyter notebook cell fails
body: <p>Any trick to <strong>play a sound whenever a Jupyter notebook cell throws an error</strong>?</p>
  
  <p>I checked <a href="https://stackoverflow.com/q/17323336/125617">this question</a>, and I am currently using <a href="https://pypi.python.org/pypi/cellbell/0.0.2" rel="noreferrer">cellbell</a> like this:</p>
  
  <pre><code>import cellbell
  
  # line magic
  %ding my_long_function()
  </code></pre>
  
  <p>but I don't know to make it run whenever one of my cells throws an error (except from wrapping every cell in try/catch clauses).</p>
  
  <p>I guess what I would need is something like an "error-hook", similar to a <a href="http://jupyter-notebook.readthedocs.io/en/latest/extending/savehooks.html" rel="noreferrer">savehook</a>...</p>