title: How to pass a variable to an exception when raised and retrieve it when excepted?
body: <p>Right now I just have a blank exception class. I was wondering how I can give it a variable when it gets raised and then retrieve that variable when I handle it in the try...except.</p>
  
  <pre><code>class ExampleException (Exception):
      pass
  </code></pre>